|
0ae00bce79
|
Changed the properties of the test cases from public to private.
|
2023-07-29 10:11:45 +08:00 |
|
|
356d2010cc
|
Removed the CSRF token from the get_client function in testlib.py, so that type hints and documentation can be added to the client and the CSRF token properties separately.
|
2023-07-29 10:11:45 +08:00 |
|
|
501c4b1d22
|
Added missing documentation to the global variables, class properties, and object properties.
|
2023-07-29 10:11:44 +08:00 |
|
|
b5aa7e923f
|
Renamed the "j_date" variable to "date" in the "_init_data" method of the ReportTestData class in test_report.py.
|
2023-04-26 13:22:46 +08:00 |
|
|
359c335662
|
Revised the way to import from the datetime package, to avoid name conflict with the common "date" and "time" names.
|
2023-04-26 13:17:31 +08:00 |
|
|
014d67f7b8
|
Removed the period filter from the unapplied original line items and unmatched offsets. It does not make sense for these two reports.
|
2023-04-18 09:21:42 +08:00 |
|
|
e2f854b5cc
|
Changed the unmatched offsets from a module to a report, and to show both the unapplied original line items and the unmatched offsets instead of only the unmatched offsets, and added the accumulated balance, in order for ease of use. Removed the match information from the unapplied original line item report. Added the currency and period filters to both the unapplied original line item report and unmatched offset reports.
|
2023-04-18 01:12:04 +08:00 |
|
|
7bcc2b28b2
|
Moved the JournalEntryLineItemData, JournalEntryCurrencyData, JournalEntryData, and BaseTestData classes from testlib.py to the ".lib" module in the test site.
|
2023-04-13 08:30:07 +08:00 |
|
|
85d1b13ccd
|
Added the "populate" method to the BaseTestData class, and changed it so that the tests need to call the "populate" method to populate the data, so that it may return the data with populating the database in the future.
|
2023-04-12 12:28:34 +08:00 |
|
|
3bada28b8f
|
Revised the BaseTestData class in testlib.py to add journal entries directly to the database instead of through the API, in order to allow the data to be reused, and to speed up the test.
|
2023-04-12 12:12:11 +08:00 |
|
|
4be1ead6b5
|
Added the "accounting-init-db" console command to the database initialization of the test site, for simplicity.
|
2023-04-10 23:58:08 +08:00 |
|
|
700e4f822a
|
Merged the "init-db" console command to the Flask application initialization in the test site, to simplify the code.
|
2023-04-10 23:50:16 +08:00 |
|
|
c4a8326bfc
|
Added the "accounting-init-db" console command to replace the trivial "accounting-init-base", "accounting-init-accounts" and "accounting-init-currencies" console commands.
|
2023-04-10 23:38:27 +08:00 |
|
|
1224d6f83e
|
Added the CSV_MIME constant to test_report.py to simplify the ReportTestCase test case.
|
2023-04-09 12:09:52 +08:00 |
|
|
3a8618f7c3
|
Fixed the csv_download function when downloading data with non-US-ASCII filenames in the "accounting.report.utils.csv_export" module.
|
2023-04-09 12:07:31 +08:00 |
|
|
5d87205659
|
Changed the data in the ReportTestData class to be non-US-ASCII.
|
2023-04-09 11:55:15 +08:00 |
|
|
04de4f5c5e
|
Merged testlib_offset.py into testlib.py.
|
2023-04-09 11:46:55 +08:00 |
|
|
943ace6fc7
|
Added ReportTestData as the test data for the ReportTestCase test case.
|
2023-04-09 11:46:46 +08:00 |
|
|
51f0185bcf
|
Added to test the search in the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
|
7ca08d6cc8
|
Added to test the CSV download in the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
|
c8e9e562be
|
Fixed a URL in the test_nobody test of the ReportTestCase test case.
|
2023-04-09 10:08:23 +08:00 |
|
|
ba43bd7e90
|
Simplify the URL of the default reports.
|
2023-04-09 10:08:23 +08:00 |
|
|
59a3cbb472
|
Added the ReportTestCase test case.
|
2023-04-09 10:08:22 +08:00 |
|