Add test for depends

This commit is contained in:
Cédric Krier
2011-08-04 16:57:30 +02:00
parent 0d06ae2575
commit e059d0c5c9
+7 -1
View File
@@ -10,7 +10,7 @@ if os.path.isdir(DIR):
import unittest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import test_view
from trytond.tests.test_tryton import test_view, test_depends
class LDAPAuthenticationTestCase(unittest.TestCase):
@@ -27,6 +27,12 @@ class LDAPAuthenticationTestCase(unittest.TestCase):
'''
test_view('ldap_authentication')
def test0006depends(self):
'''
Test depends.
'''
test_depends()
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(