From 6debe25d309d0358cc9c7cf066e68176cb81c39c Mon Sep 17 00:00:00 2001 From: resteve Date: Thu, 14 Nov 2013 15:06:31 +0100 Subject: [PATCH] Test --- tests/__init__.py | 2 ++ tests/test_aeat_349_es.py | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index dd93765..60aebf3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,3 +2,5 @@ # copyright notices and license terms. from .test_aeat_349_es import suite + +__all__ = ['suite'] diff --git a/tests/test_aeat_349_es.py b/tests/test_aeat_349_es.py index 764ca46..2e2ad3b 100644 --- a/tests/test_aeat_349_es.py +++ b/tests/test_aeat_349_es.py @@ -15,9 +15,9 @@ from trytond.tests.test_tryton import test_view, test_depends 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): @@ -32,7 +32,8 @@ class TestCase(unittest.TestCase): def suite(): suite = trytond.tests.test_tryton.suite() - suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase)) + suite.addTests(unittest.TestLoader().loadTestsFromTestCase( + Aeat349EsTestCase)) return suite if __name__ == '__main__':