Tests
This commit is contained in:
parent
69464af034
commit
1b15bff824
|
@ -1,25 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
# This file is part stock_tools 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_tools 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 StockToolsTestCase(unittest.TestCase):
|
||||
class StockToolsTestCase(ModuleTestCase):
|
||||
'Test Stock Tools module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('stock_tools')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('stock_tools')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
module = 'stock_tools'
|
||||
|
||||
|
||||
def suite():
|
||||
|
|
Loading…
Reference in New Issue