Tests
This commit is contained in:
parent
496ff8d66b
commit
d389cae5cd
|
@ -1,25 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
# This file is part of subscription module of Tryton.
|
||||
# This file is part of the subscription module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
import unittest
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import test_view, test_depends
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class SubscriptionTestCase(unittest.TestCase):
|
||||
class SubscriptionTestCase(ModuleTestCase):
|
||||
'Test Subscription module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('subscription')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('subscription')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
module = 'subscription'
|
||||
|
||||
|
||||
def suite():
|
||||
|
|
Loading…
Reference in New Issue