change test to fit to implementation problem
a contextmanager that is a class method caused an error. So now it's outside of the class in the same way it is in piecash. Maybe they had the same problem.
This commit is contained in:
parent
4451225174
commit
c6d165fb79
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class TestDatabase:
|
|||
the mapping from the currencies to the accounts,
|
||||
the exchange rates when buying the second with the first element of the key
|
||||
"""
|
||||
with database.BookAttributes.create_book() as bookattr:
|
||||
with database.create_bookattributes() as bookattr:
|
||||
accounts = {}
|
||||
dummy_accounts = {}
|
||||
currencies = [bookattr.book.default_currency,
|
||||
|
|
Loading…
Reference in a new issue