mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
s4/dsdb/tests/python: PY3 port samba4.ldap.sites
Fix comparison of ldb.bytes with string Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@ -165,7 +165,7 @@ class SimpleSubnetTests(SitesBaseTests):
|
||||
|
||||
sites = ret[0]['siteObject']
|
||||
self.assertEqual(len(sites), 1)
|
||||
self.assertEqual(sites[0],
|
||||
self.assertEqual(str(sites[0]),
|
||||
'CN=testsite2,CN=Sites,%s' % self.ldb.get_config_basedn())
|
||||
|
||||
self.assertRaises(subnets.SubnetAlreadyExists,
|
||||
|
Reference in New Issue
Block a user