python: tests: update all super calls to python 3 style in tests
[samba.git] / python / samba / tests / cred_opt.py
index 02019b5022af4918ae8255fde85569921a98b06d..5bc7a831da778441bbf1d2929c54a61ad5a0812b 100644 (file)
@@ -73,7 +73,7 @@ class CredentialsOptionsTests(samba.tests.TestCase):
 class AuthenticationFileTests(samba.tests.TestCaseInTempDir):
 
     def setUp(self):
-        super(AuthenticationFileTests, self).setUp()
+        super().setUp()
 
         self.parser = optparse.OptionParser()
         self.credopts = CredentialsOptions(self.parser)
@@ -94,7 +94,7 @@ class AuthenticationFileTests(samba.tests.TestCaseInTempDir):
         auth_file_fd.close()
 
     def tearDown(self):
-        super(AuthenticationFileTests, self).tearDown()
+        super().tearDown()
 
         os.unlink(self.auth_file_name)