conservancy_beancount/tests
Brett Smith 552ef45f47 plugin: Be more selective about when ! skips validation.
It makes sense to let the bookkeeper skip validations in situations
where the metadata requires information that might not be available
when entered. It does not make sense to skip validations that *must*
be available and affect the structure of the books, like project and
entity.

This commit ensures every plugin hook has a test for flagged
transactions, even for hooks that currently have the desired
behavior where no code changes were required for the test to
pass.
2020-05-21 21:58:48 -04:00
..
books books.Loader: New loading strategy based on load_file. RT#11034. 2020-05-16 10:29:06 -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 based on load_file. RT#11034. 2020-05-16 10:29:06 -04:00
test_config.py config: Let user specify books dir with ~. 2020-05-17 14:52:23 -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 plugin: Don't validate transactions flagged with !. RT#10591. 2020-05-11 09:52:05 -04:00
test_meta_entity.py plugin: Be more selective about when ! skips validation. 2020-05-21 21:58:48 -04:00
test_meta_expense_allocation.py plugin: Be more selective about when ! skips validation. 2020-05-21 21:58:48 -04:00
test_meta_income_type.py plugin: Be more selective about when ! skips validation. 2020-05-21 21:58:48 -04:00
test_meta_invoice.py plugin: Don't validate transactions flagged with !. RT#10591. 2020-05-11 09:52:05 -04:00
test_meta_payable_documentation.py plugin: Don't validate transactions flagged with !. RT#10591. 2020-05-11 09:52:05 -04:00
test_meta_paypal_id.py plugin: Be more selective about when ! skips validation. 2020-05-21 21:58:48 -04:00
test_meta_project.py plugin: Be more selective about when ! skips validation. 2020-05-21 21:58:48 -04:00
test_meta_receipt.py meta_receipt: Allow invoice as fallback documentation for checking credits. 2020-05-15 16:48:45 -04:00
test_meta_receivable_documentation.py plugin: Don't validate transactions flagged with !. RT#10591. 2020-05-11 09:52:05 -04:00
test_meta_repo_links.py plugin: Don't validate transactions flagged with !. RT#10591. 2020-05-11 09:52:05 -04:00
test_meta_rt_links.py plugin: Don't validate transactions flagged with !. RT#10591. 2020-05-11 09:52:05 -04:00
test_meta_tax_implication.py plugin: Be more selective about when ! skips validation. 2020-05-21 21:58:48 -04:00
test_plugin.py plugin: Add HookRegistry.load_included_hooks() method. 2020-04-07 13:31:09 -04:00
test_reports_accrual.py accrual: Outgoing report doesn't put RT web links in < >. 2020-05-18 17:05:01 -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 test_rtutil: Capture debug logs for test_read_only_cache. 2020-05-13 10:25:24 -04:00
testutil.py accrual: Outgoing report handles requestors without RealName. 2020-05-18 14:44:34 -04:00