This commit is contained in:
resteve 2015-12-01 00:29:04 +01:00
parent c02ff04dfc
commit 3bfe2ca1d0

View file

@ -1,27 +1,14 @@
#!/usr/bin/env python
# This file is part stock_delivery_date module for Tryton.
# 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_delivery_date 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 POOL, DB_NAME, USER, CONTEXT, test_view,\
test_depends
from trytond.transaction import Transaction
from trytond.tests.test_tryton import ModuleTestCase
class StockDeliveryDateTestCase(unittest.TestCase):
class StockDeliveryDateTestCase(ModuleTestCase):
'Test Stock Delivery Date module'
def setUp(self):
trytond.tests.test_tryton.install_module('stock_delivery_date')
def test0005views(self):
'Test views'
test_view('stock_delivery_date')
def test0006depends(self):
'Test depends'
test_depends()
module = 'stock_delivery_date'
def suite():
@ -29,6 +16,3 @@ def suite():
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
StockDeliveryDateTestCase))
return suite
if __name__ == '__main__':
unittest.TextTestRunner(verbosity=2).run(suite())