Upgrade test
This commit is contained in:
parent
3372e86ea5
commit
9ab358501b
|
@ -4,23 +4,13 @@ import doctest
|
|||
import unittest
|
||||
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import test_view, test_depends
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
from trytond.tests.test_tryton import doctest_setup, doctest_teardown
|
||||
|
||||
|
||||
class TestCase(unittest.TestCase):
|
||||
class TestCase(ModuleTestCase):
|
||||
'Test module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('sale_farm')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('sale_farm')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
module = 'sale_farm'
|
||||
|
||||
|
||||
def suite():
|
||||
|
|
Loading…
Reference in New Issue