mirror of
https://github.com/samba-team/samba.git
synced 2025-12-18 08:23:51 +03:00
python: Replace calls to deprecated methods
These aliases are deprecated and have been removed in Python 3.12. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
a15208f60b
commit
41aa379abb
@@ -204,9 +204,9 @@ class OUCmdTestCase(SambaToolCmdTest):
|
||||
self.assertIn('Moved ou "%s"' % full_ou_dn, out)
|
||||
|
||||
found = self._find_ou(ou["name"])
|
||||
self.assertNotEquals(found.get("dn"), olddn,
|
||||
"Moved ou '%s' still exists with the same dn" %
|
||||
ou["name"])
|
||||
self.assertNotEqual(found.get("dn"), olddn,
|
||||
"Moved ou '%s' still exists with the same dn" %
|
||||
ou["name"])
|
||||
newexpecteddn = ldb.Dn(self.samdb,
|
||||
"OU=%s,OU=%s,%s" %
|
||||
(ou["name"], parentou["name"],
|
||||
|
||||
Reference in New Issue
Block a user