mirror of
https://github.com/NaN-tic/trytond-stock_location_warehouse.git
synced 2023-12-14 06:43:04 +01:00
adapt to 3.8
This commit is contained in:
commit
ff9a9d7847
|
@ -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
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=3.4.1
|
||||
version=3.8.0
|
||||
depends:
|
||||
ir
|
||||
stock
|
||||
|
|
Loading…
Reference in a new issue