]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python/samba/tests: Fix incorrect super-class in cred_opt.py setUp()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 30 Nov 2023 00:31:33 +0000 (13:31 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 30 Nov 2023 02:03:05 +0000 (02:03 +0000)
This will allow TEST_DEBUG_LEVEL to work in this test.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Nov 30 02:03:05 UTC 2023 on atb-devel-224

python/samba/tests/cred_opt.py

index 0e28b67d19656f99a86a1261dc9270ced88b9ad9..0adb91586100020c4ae1a65b5dfa5fed3f80e5e8 100644 (file)
@@ -46,7 +46,7 @@ def auth_fle_opt(auth_file_path, long_opt=True):
 class CredentialsOptionsTests(samba.tests.TestCase):
 
     def setUp(self):
-        super(samba.tests.TestCase, self).setUp()
+        super().setUp()
         self.old_proctitle = setproctitle.getproctitle()
 
         # We must append two options to get the " " we look for in the