conservancy_beancount/tests
Brett Smith 072937eff5 books.Loader: New loading strategy.
The old loading strategy didn't load options, which yielded some
spurious errors. It also created awkward duplication of plugin
information in the code as well as the books.

Implement a new loading strategy that works by reading one of the
"main files" under the books/ subdirectory and includes entries
for additional FYs beyond that.

This is still not ideal in a lot of ways. In particular, Beancount can't
cache any results, causing any load to be slower than it theoretically could
be. I expect more commits to follow. But some of them might require
restructuring the books, and that should happen separately.
2020-05-05 14:31:08 -04:00
..
books books.Loader: New loading strategy. 2020-05-05 14:31:08 -04:00
repository/Projects meta_project: Start hook. 2020-03-20 12:08:10 -04:00
userconfig tests: Add sample configuration file. 2020-04-23 11:41:07 -04:00
__init__.py Initial commit: license, setup.py, gitignore, skeleton structure. 2020-03-05 09:33:23 -05:00
conftest.py tests: Set XDG_CONFIG_HOME for safety. 2020-04-12 22:24:34 -04:00
test_books_fiscal_year.py books: Start FiscalYear class. 2020-04-20 17:20:26 -04:00
test_books_loader.py books.Loader: New loading strategy. 2020-05-05 14:31:08 -04:00
test_config.py books.Loader: New loading strategy. 2020-05-05 14:31:08 -04:00
test_data_account.py Account: Add is_opening_balance method. 2020-04-08 15:04:25 -04:00
test_data_balance_of.py data: Make balance_of currency-aware. 2020-04-09 14:13:07 -04:00
test_data_is_opening_balance_txn.py tests: Test where Transactions are real NamedTuples. 2020-04-28 15:33:30 -04:00
test_data_metadata.py tests: Test Metadata.get_links() with whitespace on one side. 2020-03-28 13:38:18 -04:00
test_data_posting.py data: Add Posting.from_entries() method. 2020-04-21 15:24:04 -04:00
test_data_posting_meta.py data.PostingMeta: Add date property. 2020-04-11 09:20:35 -04:00
test_filters.py rtutil: Add RTUtil.metadata_regexp() classmethod. 2020-04-23 10:27:47 -04:00
test_meta_approval.py meta_approval: Not required for chargebacks. RT#10978. 2020-05-01 16:24:24 -04:00
test_meta_entity.py tests: Test where Transactions are real NamedTuples. 2020-04-28 15:33:30 -04:00
test_meta_expense_allocation.py Revise chart of accounts used throughout. 2020-04-03 10:34:10 -04:00
test_meta_income_type.py Revise chart of accounts used throughout. 2020-04-03 10:34:10 -04:00
test_meta_invoice.py tests: Test where Transactions are real NamedTuples. 2020-04-28 15:33:30 -04:00
test_meta_payable_documentation.py plugin: Most validations skip opening balance transactions. RT#10642. 2020-04-09 15:12:04 -04:00
test_meta_paypal_id.py plugin: Most validations skip opening balance transactions. RT#10642. 2020-04-09 15:12:04 -04:00
test_meta_project.py tests: Test where Transactions are real NamedTuples. 2020-04-28 15:33:30 -04:00
test_meta_receipt.py Revert "meta_receipt: Don't check chargebacks. RT#10978." 2020-05-01 16:20:22 -04:00
test_meta_receivable_documentation.py plugin: Most validations skip opening balance transactions. RT#10642. 2020-04-09 15:12:04 -04:00
test_meta_repo_links.py plugin: Link checkers use Metadata class. 2020-03-28 13:36:56 -04:00
test_meta_rt_links.py plugin: Link checkers use Metadata class. 2020-03-28 13:36:56 -04:00
test_meta_tax_implication.py meta_tax_implication: Add Chargeback value. 2020-05-01 15:54:40 -04:00
test_plugin.py plugin: Add HookRegistry.load_included_hooks() method. 2020-04-07 13:31:09 -04:00
test_reports_accrual.py books.Loader: New loading strategy. 2020-05-05 14:31:08 -04:00
test_reports_balance.py reports: Add Balance.__neg__() method. 2020-04-29 14:35:20 -04:00
test_reports_related_postings.py reports: Add RelatedPostings.all_meta_links() method. 2020-04-29 10:12:08 -04:00
test_rtutil.py rtutil: Add RT.iter_urls() method. 2020-04-29 11:23:48 -04:00
testutil.py books.Loader: New loading strategy. 2020-05-05 14:31:08 -04:00