summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-01 01:41:58 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-01 02:05:37 +0200
commit9917d37c3ccebbb8d9ff44b70702394805f2c5e7 (patch)
treef6fe2d49b3b053997b56f9f0c3610c1abaf8d9e7 /source4
parentb7c7c4bae0591630a9de9caf84ef05c0ecf07ada (diff)
downloadsamba-9917d37c3ccebbb8d9ff44b70702394805f2c5e7.tar.gz
samba-9917d37c3ccebbb8d9ff44b70702394805f2c5e7.tar.bz2
samba-9917d37c3ccebbb8d9ff44b70702394805f2c5e7.zip
delete_object: Remove unnecessary pass calls.
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/drs/python/delete_object.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/torture/drs/python/delete_object.py b/source4/torture/drs/python/delete_object.py
index c8475e556a..09126dcd01 100644
--- a/source4/torture/drs/python/delete_object.py
+++ b/source4/torture/drs/python/delete_object.py
@@ -80,7 +80,6 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
# we will need DCs DNS names for 'net drs' command
self.dnsname_dc1 = self.info_dc1["dnsHostName"][0]
self.dnsname_dc2 = self.info_dc2["dnsHostName"][0]
- pass
def tearDown(self):
super(DrsDeleteObjectTestCase, self).tearDown()
@@ -125,7 +124,6 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
self.assertEquals(name_cur, name_orig)
self.assertEquals(user_orig["dn"], user_cur["dn"])
self.assertTrue(dodn not in str(user_cur["dn"]))
- pass
def _net_drs_replicate(self, DC, fromDC):
# find out where is net command
@@ -139,8 +137,6 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
self.domain_dn, cmd_line_auth)
ret = os.system(cmd_line)
self.assertEquals(ret, 0, "Replicating %s from %s has failed!" % (DC, fromDC))
- pass
-
def test_NetReplicateCmd(self):
"""Triggers replication from DC1 to DC2
@@ -150,7 +146,6 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
self._net_drs_replicate(DC=self.dnsname_dc2, fromDC=self.dnsname_dc1)
# replicate Domain NC on DC1 from DC2
self._net_drs_replicate(DC=self.dnsname_dc1, fromDC=self.dnsname_dc2)
- pass
def test_ReplicateDeteleteObject(self):
"""Verifies how a deleted-object is replicated between two DCs.
@@ -213,8 +208,6 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
self._check_user(sam_ldb=self.ldb_dc1, user_orig=user_orig, is_deleted=True)
# check user info on DC2 - should be deleted
self._check_user(sam_ldb=self.ldb_dc2, user_orig=user_orig, is_deleted=True)
- pass
-
########################################################################################