mirror of
https://github.com/NaN-tic/trytond-stock_location_warehouse.git
synced 2023-12-14 06:43:04 +01:00
Tests
This commit is contained in:
parent
4440bfc7b7
commit
2752c052ab
|
@ -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))
|
||||
StockLocationWarehouseTestCase))
|
||||
return suite
|
Loading…
Reference in a new issue