1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00

test: fixed several tests to use samba.tests

this fixes error checking. Test failures were not being detected
otherwise

Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Andrew Tridgell
2011-11-09 13:28:02 +11:00
parent 862823a776
commit ba41389d3d
7 changed files with 13 additions and 12 deletions

View File

@ -48,7 +48,7 @@ lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp)
class SchemaTests(unittest.TestCase):
class SchemaTests(samba.tests.TestCase):
def setUp(self):
super(SchemaTests, self).setUp()
@ -246,7 +246,7 @@ instanceType: 4
delete_force(self.ldb, "ou=%s,%s" % (object_name, self.base_dn))
class SchemaTests_msDS_IntId(unittest.TestCase):
class SchemaTests_msDS_IntId(samba.tests.TestCase):
def setUp(self):
super(SchemaTests_msDS_IntId, self).setUp()
@ -518,7 +518,7 @@ systemOnly: FALSE
self.assertTrue("msDS-IntId" not in ldb_msg)
class SchemaTests_msDS_isRODC(unittest.TestCase):
class SchemaTests_msDS_isRODC(samba.tests.TestCase):
def setUp(self):
super(SchemaTests_msDS_isRODC, self).setUp()