summaryrefslogtreecommitdiff
path: root/source4/torture/drs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-01-03 06:54:07 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-01-03 08:21:12 +0100
commitb5474f2441fc1c2853cf898bf143f1aa2eda8a03 (patch)
tree7fffffbbb66fe3fc493f63d1ad5a200d54de0c0d /source4/torture/drs
parent22b7cb3f2905375b5a9d88d9309062ceec658540 (diff)
downloadsamba-b5474f2441fc1c2853cf898bf143f1aa2eda8a03.tar.gz
samba-b5474f2441fc1c2853cf898bf143f1aa2eda8a03.tar.bz2
samba-b5474f2441fc1c2853cf898bf143f1aa2eda8a03.zip
remove unnecessary use of pass.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/torture/drs')
-rw-r--r--source4/torture/drs/python/fsmo.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/torture/drs/python/fsmo.py b/source4/torture/drs/python/fsmo.py
index cdee7ab518..4dc573b89c 100644
--- a/source4/torture/drs/python/fsmo.py
+++ b/source4/torture/drs/python/fsmo.py
@@ -83,7 +83,6 @@ class DrsFsmoTestCase(samba.tests.TestCase):
# we will need DCs DNS names for 'net fsmo' command
self.dnsname_dc1 = self.info_dc1["dnsHostName"][0]
self.dnsname_dc2 = self.info_dc2["dnsHostName"][0]
- pass
def tearDown(self):
super(DrsFsmoTestCase, self).tearDown()
@@ -100,7 +99,6 @@ class DrsFsmoTestCase(samba.tests.TestCase):
cmd_line_auth)
ret = os.system(cmd_line)
self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC))
- pass
def _wait_for_role_transfer(self, ldb_dc, role_dn, master):
"""Wait for role transfer for certain amount of time
@@ -146,25 +144,19 @@ class DrsFsmoTestCase(samba.tests.TestCase):
master=self.dsServiceName_dc1)
self.assertTrue(res,
"Transferring %s role to %s has failed, master is: %s!"%(role, self.dsServiceName_dc1, master))
- pass
def test_SchemaMasterTransfer(self):
self._role_transfer(role="schema", role_dn=self.schema_dn)
- pass
def test_InfrastructureMasterTransfer(self):
self._role_transfer(role="infrastructure", role_dn=self.infrastructure_dn)
- pass
def test_PDCMasterTransfer(self):
self._role_transfer(role="pdc", role_dn=self.domain_dn)
- pass
def test_RIDMasterTransfer(self):
self._role_transfer(role="rid", role_dn=self.rid_dn)
- pass
def test_NamingMasterTransfer(self):
self._role_transfer(role="naming", role_dn=self.naming_dn)
- pass