This commit is contained in:
resteve 2015-12-01 11:28:10 +01:00
parent bc54ff08d3
commit b5d9f15730
2 changed files with 18 additions and 29 deletions

View File

@ -1,29 +0,0 @@
#!/usr/bin/env python
# This file is part ir_module_info 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
class ModuleDescriptionTestCase(unittest.TestCase):
'Test Blank module'
def setUp(self):
trytond.tests.test_tryton.install_module('ir_module_info')
def test0005views(self):
'Test views'
test_view('ir_module_info')
def test0006depends(self):
'Test depends'
test_depends()
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
ModuleDescriptionTestCase))
return suite

View File

@ -0,0 +1,18 @@
# This file is part of the ir_module_info 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 ModuleTestCase
class IrModuleInfoTestCase(ModuleTestCase):
'Test Ir Module Info module'
module = 'ir_module_info'
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
IrModuleInfoTestCase))
return suite