summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-05-31 11:15:51 +1000
committerStefan Metzmacher <metze@samba.org>2013-06-12 10:02:08 +0200
commit51298d33dd28e034967db38312e0129935a27a66 (patch)
tree0e2a84106e833690c9c690e9653bbc8acaadcd63 /source4
parent96980f7c04cc4226ed109654025b8254921f8d58 (diff)
downloadsamba-51298d33dd28e034967db38312e0129935a27a66.tar.gz
samba-51298d33dd28e034967db38312e0129935a27a66.tar.bz2
samba-51298d33dd28e034967db38312e0129935a27a66.zip
dsdb-tests ldap.py: Fix quoting of print statements
While python didn't mind (oddly) it really confused my editor. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/dsdb/tests/python/ldap.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py
index 5ca4c26dab..96331d2ee8 100755
--- a/source4/dsdb/tests/python/ldap.py
+++ b/source4/dsdb/tests/python/ldap.py
@@ -712,7 +712,7 @@ class BasicTests(samba.tests.TestCase):
def test_attribute_ranges(self):
"""Test attribute ranges"""
- print "Test attribute ranges"""
+ print "Test attribute ranges"
# Too short (min. 1)
try:
@@ -833,7 +833,7 @@ class BasicTests(samba.tests.TestCase):
def test_instanceType(self):
"""Tests the 'instanceType' attribute"""
- print "Tests the 'instanceType' attribute"""
+ print "Tests the 'instanceType' attribute"
# The instance type is single-valued
try:
@@ -902,7 +902,7 @@ class BasicTests(samba.tests.TestCase):
def test_distinguished_name(self):
"""Tests the 'distinguishedName' attribute"""
- print "Tests the 'distinguishedName' attribute"""
+ print "Tests the 'distinguishedName' attribute"
# The "dn" shortcut isn't supported
m = Message()
@@ -982,7 +982,7 @@ class BasicTests(samba.tests.TestCase):
def test_rdn_name(self):
"""Tests the RDN"""
- print "Tests the RDN"""
+ print "Tests the RDN"
# Search
@@ -1177,7 +1177,7 @@ objectClass: container
def test_rename(self):
"""Tests the rename operation"""
- print "Tests the rename operations"""
+ print "Tests the rename operations"
try:
# cannot rename to be a child of itself
@@ -1288,7 +1288,7 @@ objectClass: container
def test_rename_twice(self):
"""Tests the rename operation twice - this corresponds to a past bug"""
- print "Tests the rename twice operation"""
+ print "Tests the rename twice operation"
self.ldb.add({
"dn": "cn=ldaptestuser5,cn=users," + self.base_dn,
@@ -1576,7 +1576,7 @@ objectGUID: bd3480c9-58af-4cd8-92df-bc4a18b6e44d
def test_wkguid(self):
"""Test Well known GUID behaviours (including DN+Binary)"""
- print "Test Well known GUID behaviours (including DN+Binary)"""
+ print "Test Well known GUID behaviours (including DN+Binary)"
res = self.ldb.search(base=("<WKGUID=ab1d30f3768811d1aded00c04fd8d5cd,%s>" % self.base_dn), scope=SCOPE_BASE, attrs=[])
self.assertEquals(len(res), 1)
@@ -1593,7 +1593,7 @@ objectGUID: bd3480c9-58af-4cd8-92df-bc4a18b6e44d
def test_subschemasubentry(self):
"""Test subSchemaSubEntry appears when requested, but not when not requested"""
- print "Test subSchemaSubEntry"""
+ print "Test subSchemaSubEntry"
res = self.ldb.search(base=self.base_dn, scope=SCOPE_BASE, attrs=["subSchemaSubEntry"])
self.assertEquals(len(res), 1)
@@ -2720,7 +2720,7 @@ nTSecurityDescriptor:: """ + desc_base64
def test_dsheuristics(self):
"""Tests the 'dSHeuristics' attribute"""
- print "Tests the 'dSHeuristics' attribute"""
+ print "Tests the 'dSHeuristics' attribute"
# Get the current value to restore it later
dsheuristics = self.ldb.get_dsheuristics()
@@ -2763,7 +2763,7 @@ nTSecurityDescriptor:: """ + desc_base64
def test_operational(self):
"""Tests operational attributes"""
- print "Tests operational attributes"""
+ print "Tests operational attributes"
res = self.ldb.search(self.base_dn, scope=SCOPE_BASE,
attrs=["createTimeStamp", "modifyTimeStamp",