mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04: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:
committed by
Andrew Bartlett
parent
e8fda61a57
commit
6ac4833678
@@ -28,7 +28,7 @@ import samba.tests
|
||||
class AuthSystemSessionTests(samba.tests.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(AuthSystemSessionTests, self).setUp()
|
||||
super().setUp()
|
||||
self.system_session = auth.system_session()
|
||||
self.lp = samba.tests.env_loadparm()
|
||||
|
||||
@@ -62,7 +62,7 @@ class AuthSystemSessionTests(samba.tests.TestCase):
|
||||
class AuthAdminSessionTests(samba.tests.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(AuthAdminSessionTests, self).setUp()
|
||||
super().setUp()
|
||||
self.lp = samba.tests.env_loadparm()
|
||||
self.admin_session = auth.admin_session(self.lp,
|
||||
"S-1-5-21-2212615479-2695158682-2101375467")
|
||||
|
||||
Reference in New Issue
Block a user