Tryton 6.8: index, info, tests
This commit is contained in:
parent
1f47dfe6b1
commit
21b014183a
7 changed files with 25 additions and 25 deletions
|
@ -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
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue