File diff 6a7815090ca0 → fff9e37bf83e
tests/testutil.py
Show inline comments
...
 
@@ -21,6 +21,7 @@ import re
 
import beancount.core.amount as bc_amount
 
import beancount.core.data as bc_data
 
import beancount.loader as bc_loader
 
import beancount.parser.options as bc_options
 

	
 
import odf.element
 
import odf.opendocument
...
 
@@ -43,6 +44,7 @@ TESTS_DIR = Path(__file__).parent
 
# it with different scopes. Typical usage looks like:
 
#   clean_account_meta = pytest.fixture([options])(testutil.clean_account_meta)
 
def clean_account_meta():
 
    data.Account.load_options_map(bc_options.OPTIONS_DEFAULTS)
 
    data.Account._meta_map.clear()
 

	
 
def _ods_cell_value_type(cell):