Local tests for account_stock_anglo_saxon account_stock_continental are failing
The local tests for account_stock_anglo_saxon account_stock_continental are failing, when following the documentation:
hg up -r "branch(default) and public()"
python -m unittest discover -vvvvfs trytond.modules.account_stock_anglo_saxon.tests
…
tryton/trytond/trytond/modules/account_stock_anglo_saxon/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst
Doctest: scenario_account_stock_anglo_saxon_with_drop_shipment.rst ... FAIL
======================================================================
FAIL: tryton/trytond/trytond/modules/account_stock_anglo_saxon/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst
Doctest: scenario_account_stock_anglo_saxon_with_drop_shipment.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for scenario_account_stock_anglo_saxon_with_drop_shipment.rst
File "tryton/trytond/trytond/modules/account_stock_anglo_saxon/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst", line 0
----------------------------------------------------------------------
File "tryton/trytond/trytond/modules/account_stock_anglo_saxon/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst", line 136, in scenario_account_stock_anglo_saxon_with_drop_shipment.rst
Failed example:
template.supply_on_sale = True
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest scenario_account_stock_anglo_saxon_with_drop_shipment.rst[82]>", line 1, in <module>
template.supply_on_sale = True
File "tryton/.direnv/python-3.9.2/lib/python3.9/site-packages/proteus/__init__.py", line 193, in __set__
assert isinstance(value, str) or value is None
AssertionError
----------------------------------------------------------------------
Ran 24 tests in 34.175s
FAILED (failures=1)
Edited by Udo Spallek