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:
committed by
Andrew Bartlett
parent
e8fda61a57
commit
6ac4833678
@@ -27,7 +27,7 @@ from samba.auth import system_session
|
||||
|
||||
class RodcCmdTestCase(SambaToolCmdTest):
|
||||
def setUp(self):
|
||||
super(RodcCmdTestCase, self).setUp()
|
||||
super().setUp()
|
||||
self.lp = samba.param.LoadParm()
|
||||
self.lp.load(os.environ["SMB_CONF_PATH"])
|
||||
self.creds = Credentials()
|
||||
@@ -53,7 +53,7 @@ class RodcCmdTestCase(SambaToolCmdTest):
|
||||
add_members_operation=True)
|
||||
|
||||
def tearDown(self):
|
||||
super(RodcCmdTestCase, self).tearDown()
|
||||
super().tearDown()
|
||||
self.ldb.deleteuser("sambatool1")
|
||||
self.ldb.deleteuser("sambatool2")
|
||||
self.ldb.deleteuser("sambatool3")
|
||||
|
||||
Reference in New Issue
Block a user