summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/ldb-samba/tests/match_rules.py2
-rwxr-xr-xlib/ldb/tests/python/api.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldb-samba/tests/match_rules.py b/lib/ldb-samba/tests/match_rules.py
index dde787ff68b..6d2ba1b920d 100755
--- a/lib/ldb-samba/tests/match_rules.py
+++ b/lib/ldb-samba/tests/match_rules.py
@@ -1125,7 +1125,7 @@ class MatchRuleConditionTests(samba.tests.TestCase):
FLAG_MOD_ADD, "member")
self.ldb.modify(m)
- self.question = 6*(9-2)
+ self.question = 6 * (9 -2)
self.answer = 42
def tearDown(self):
diff --git a/lib/ldb/tests/python/api.py b/lib/ldb/tests/python/api.py
index 0654c2fb971..643cacd0616 100755
--- a/lib/ldb/tests/python/api.py
+++ b/lib/ldb/tests/python/api.py
@@ -2097,7 +2097,7 @@ class DnTests(TestCase):
def test_remove_base_components(self):
x = ldb.Dn(self.ldb, "dc=foo24,dc=samba,dc=org")
- x.remove_base_components(len(x)-1)
+ x.remove_base_components(len(x) - 1)
self.assertEqual("dc=foo24", str(x))
def test_parse_ldif(self):