mirror of
https://github.com/NaN-tic/trytond-aeat_349_es.git
synced 2023-12-14 04:12:54 +01:00
Test
This commit is contained in:
parent
b598ae9dc8
commit
6debe25d30
2 changed files with 6 additions and 3 deletions
|
@ -2,3 +2,5 @@
|
||||||
# copyright notices and license terms.
|
# copyright notices and license terms.
|
||||||
|
|
||||||
from .test_aeat_349_es import suite
|
from .test_aeat_349_es import suite
|
||||||
|
|
||||||
|
__all__ = ['suite']
|
||||||
|
|
|
@ -15,9 +15,9 @@ from trytond.tests.test_tryton import test_view, test_depends
|
||||||
from trytond.backend.sqlite.database import Database as SQLiteDatabase
|
from trytond.backend.sqlite.database import Database as SQLiteDatabase
|
||||||
|
|
||||||
|
|
||||||
class TestCase(unittest.TestCase):
|
class Aeat349EsTestCase(unittest.TestCase):
|
||||||
'''
|
'''
|
||||||
Test module.
|
Test AEAT 349 ES module.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
@ -32,7 +32,8 @@ class TestCase(unittest.TestCase):
|
||||||
|
|
||||||
def suite():
|
def suite():
|
||||||
suite = trytond.tests.test_tryton.suite()
|
suite = trytond.tests.test_tryton.suite()
|
||||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase))
|
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||||
|
Aeat349EsTestCase))
|
||||||
return suite
|
return suite
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue