Update test to version 4.0
This commit is contained in:
parent
0cc9f9e0a5
commit
188c79066f
|
@ -3,22 +3,12 @@
|
|||
# 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 TestCase(unittest.TestCase):
|
||||
class TestCase(ModuleTestCase):
|
||||
'Test module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('stock_lot_quantity')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('stock_lot_quantity')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
module = 'stock_lot_quantity'
|
||||
|
||||
|
||||
def suite():
|
||||
|
|
Loading…
Reference in New Issue