changeset 010ecc2e682a in modules/account_stock_anglo_saxon:default
details: 
https://hg.tryton.org/modules/account_stock_anglo_saxon?cmd=changeset&node=010ecc2e682a
description:
        Always use proteus config argument in testing tools

        issue10548
        review338421002
diffstat:

 tests/tools.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e3bca93ca01f -r 010ecc2e682a tests/tools.py
--- a/tests/tools.py    Sun Jul 04 17:54:46 2021 +0200
+++ b/tests/tools.py    Mon Jul 12 22:56:26 2021 +0200
@@ -10,7 +10,7 @@
     Account = Model.get('account.account', config=config)
 
     if not company:
-        company = get_company()
+        company = get_company(config=config)
 
     accounts['cogs'], = Account.find([
             ('type.expense', '=', True),

Reply via email to