This commit is contained in:
resteve 2015-12-01 09:44:27 +01:00
parent 4440bfc7b7
commit 2752c052ab
1 changed files with 9 additions and 18 deletions

View File

@ -1,27 +1,18 @@
#The COPYRIGHT file at the top level of this repository contains the full
#copyright notices and license terms.
# This file is part of the stock_location_warehouse 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 StockLocationWarehouseTestCase(unittest.TestCase):
'Test stock_location_warehouse module'
def setUp(self):
trytond.tests.test_tryton.install_module('stock_location_warehouse')
def test0005views(self):
'Test views'
test_view('stock_location_warehouse')
def test0006depends(self):
'Test depends'
test_depends()
class StockLocationWarehouseTestCase(ModuleTestCase):
'Test Stock Location Warehouse module'
module = 'stock_location_warehouse'
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
StockLocationWarehouseTestCase))
return suite
StockLocationWarehouseTestCase))
return suite