Skip to content

Commit

Permalink
Add Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abernardi committed Jul 31, 2017
1 parent 3e47871 commit b4471bc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
try:
from trytond.modules.account_invoice_ar.tests.tests import suite
except ImportError:
from .tests import suite

__all__ = ['suite']
15 changes: 15 additions & 0 deletions tests/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import unittest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import ModuleTestCase


class TestCase(ModuleTestCase):
'Test module'
module = 'account_invoice_ar'


def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
TestCase))
return suite

0 comments on commit b4471bc

Please sign in to comment.