Tryton 6.8: index, info, tests

This commit is contained in:
Frederik Jaeckel 2023-06-08 17:13:40 +02:00
parent 1f47dfe6b1
commit 21b014183a
7 changed files with 25 additions and 25 deletions

View file

@ -1,17 +1,2 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import trytond.tests.test_tryton
import unittest
from .test_module import CashbookInvestmentTestCase
__all__ = ['suite']
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
CashbookInvestmentTestCase))
return suite

View file

@ -745,7 +745,8 @@ class CbInvTestCase(object):
self.assertRaisesRegex(
UserError,
'A value is required for field "Asset" in "Cashbook".',
'A value is required for field "Asset" in ' +
'"Book 1 | 0.00 usd | Open | 0.0000 u" of "Cashbook".',
Book.write,
*[
[book],