pyldb: fixed places where we try to concatenate a Dn with a string
[nivanova/samba-autobuild/.git] / source4 / dsdb / tests / python / urgent_replication.py
index 40921e1cb1276a15ef37f848465bea613285b76b..2a07a58d866c5aba52b7ac7d0252be28f96ff208 100755 (executable)
@@ -87,7 +87,7 @@ class UrgentReplicationTests(samba.tests.TestCase):
         '''Test if the urgent replication is activated
            when handling a nTDSDSA object'''
         self.ldb.add({
-            "dn": "cn=test server,cn=Servers,cn=Default-First-Site-Name,cn=Sites," + self.ldb.get_config_basedn(),
+            "dn": "cn=test server,cn=Servers,cn=Default-First-Site-Name,cn=Sites,%s" % self.ldb.get_config_basedn(),
             "objectclass":"server",
             "cn":"test server",
             "name":"test server",