1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00

python: tests: update all super calls to python 3 style in tests

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

[abartlet@samba.org Some python2 style super() calls remain due
 to being an actual, even if reasonable, behaviour change]
This commit is contained in:
Rob van der Linde
2023-11-28 16:38:22 +13:00
committed by Andrew Bartlett
parent e8fda61a57
commit 6ac4833678
129 changed files with 214 additions and 214 deletions

View File

@@ -120,7 +120,7 @@ class AuthLogTestsWinbind(AuthLogTestBase, BlackboxTestCase):
return list(filter(keep, messages))
def setUp(self):
super(AuthLogTestsWinbind, self).setUp()
super().setUp()
self.domain = os.environ["DOMAIN"]
self.host = os.environ["SERVER"]
self.dc = os.environ["DC_SERVER"]
@@ -138,7 +138,7 @@ class AuthLogTestsWinbind(AuthLogTestBase, BlackboxTestCase):
self.remoteAddress = ''
def tearDown(self):
super(AuthLogTestsWinbind, self).tearDown()
super().tearDown()
delete_force(self.ldb, self.user_dn)
#