Update test to version 4.0

This commit is contained in:
Jes?s Mart?n Jim?nez 2016-07-19 11:20:19 +02:00
parent 0cc9f9e0a5
commit 188c79066f
1 changed files with 3 additions and 13 deletions

View File

@ -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():