diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:21:11 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:30 +0200 |
commit | fd6b2086cbf03d8dd0b46160f345bf7cc5551aeb (patch) | |
tree | 101163cf6456ed94237bf4210a39965384494c45 /lib | |
parent | 211c9a5f85bffbb012b4567bad265c9339588fbf (diff) | |
download | samba-fd6b2086cbf03d8dd0b46160f345bf7cc5551aeb.tar.gz |
PEP8: fix E303: too many blank lines (2)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/ldb-samba/tests/match_rules.py | 1 | ||||
-rwxr-xr-x | lib/ldb/tests/python/api.py | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/ldb-samba/tests/match_rules.py b/lib/ldb-samba/tests/match_rules.py index 9088274a022..58658a0a9ea 100755 --- a/lib/ldb-samba/tests/match_rules.py +++ b/lib/ldb-samba/tests/match_rules.py @@ -1135,7 +1135,6 @@ class MatchRuleConditionTests(samba.tests.TestCase): super(MatchRuleConditionTests, self).tearDown() self.ldb.delete(self.ou, controls=['tree_delete:0']) - def test_g1_members(self): res1 = self.ldb.search(self.ou, scope=SCOPE_SUBTREE, diff --git a/lib/ldb/tests/python/api.py b/lib/ldb/tests/python/api.py index cd0320715fa..fbe69c6ed65 100755 --- a/lib/ldb/tests/python/api.py +++ b/lib/ldb/tests/python/api.py @@ -707,7 +707,6 @@ class SearchTests(LdbBaseTest): # Ensure the LDB is closed now, so we close the FD del(self.l) - def setUp(self): super(SearchTests, self).setUp() self.testdir = tempdir() @@ -1042,7 +1041,6 @@ class SearchTests(LdbBaseTest): self.assertEqual(enum, ldb.ERR_INAPPROPRIATE_MATCHING) self.assertIn(estr, "ldb FULL SEARCH disabled") - def test_subtree_and_or(self): """Testing a search""" @@ -1161,7 +1159,6 @@ class SearchTests(LdbBaseTest): self.assertEqual(enum, ldb.ERR_INAPPROPRIATE_MATCHING) self.assertIn(estr, "ldb FULL SEARCH disabled") - def test_dn_filter_one(self): """Testing that a dn= filter succeeds (or fails with disallowDNFilter @@ -2016,7 +2013,6 @@ class BadIndexTests(LdbBaseTest): # https://bugzilla.samba.org/show_bug.cgi?id=13361 self.assertEquals(len(res), 4) - def tearDown(self): super(BadIndexTests, self).tearDown() @@ -2756,10 +2752,8 @@ class LdbResultTests(LdbBaseTest): found = True self.assertTrue(found) - # Show that search results can't see into a transaction - def test_search_against_trans(self): found11 = False @@ -2824,7 +2818,6 @@ class LdbResultTests(LdbBaseTest): (got_pid, status) = os.waitpid(pid, 0) self.assertEqual(got_pid, pid) - def test_search_iter_against_trans(self): found = False found11 = False |