mirror of
https://github.com/NaN-tic/trytond-account_invoice_multisequence-old.git
synced 2023-12-14 03:03:01 +01:00
Update test to version 4.0
This commit is contained in:
parent
88622bc98c
commit
b7259712e5
|
@ -1,30 +1,17 @@
|
|||
#!/usr/bin/env python
|
||||
# This file is part of the account_invoice_multisequence module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from trytond.tests.test_tryton import test_view, test_depends
|
||||
import trytond.tests.test_tryton
|
||||
import unittest
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class AccountInvoiceMultisequenceTestCase(unittest.TestCase):
|
||||
'Test Account Invoice Multisequence module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module(
|
||||
'account_invoice_multisequence')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('account_invoice_multisequence')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
class TestCase(ModuleTestCase):
|
||||
'Test module'
|
||||
module = 'account_invoice_multisequence'
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
AccountInvoiceMultisequenceTestCase))
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase))
|
||||
return suite
|
||||
|
|
Loading…
Reference in a new issue