Remove view tests as module has no views
This commit is contained in:
parent
e79aced4c4
commit
595c728ca5
|
@ -2,7 +2,7 @@
|
|||
# copyright notices and license terms.
|
||||
import unittest
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import test_view, test_depends # , doctest_dropdb TODO: Remove if no sceneario needed.
|
||||
from trytond.tests.test_tryton import test_depends
|
||||
|
||||
|
||||
class TestCase(unittest.TestCase):
|
||||
|
@ -11,10 +11,6 @@ class TestCase(unittest.TestCase):
|
|||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('project_milestone')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('project_milestone')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
|
@ -23,8 +19,4 @@ class TestCase(unittest.TestCase):
|
|||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase))
|
||||
# TODO: remove if no scenario needed.
|
||||
#suite.addTests(doctest.DocFileSuite('scenario_project_milestone.rst',
|
||||
# setUp=doctest_dropdb, tearDown=doctest_dropdb, encoding='utf-8',
|
||||
# optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
|
||||
return suite
|
||||
|
|
Loading…
Reference in New Issue