summaryrefslogtreecommitdiff
path: root/source4/auth/credentials/tests/bindings.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/credentials/tests/bindings.py')
-rw-r--r--source4/auth/credentials/tests/bindings.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/auth/credentials/tests/bindings.py b/source4/auth/credentials/tests/bindings.py
index 30120b3a60..4cb059ddf0 100644
--- a/source4/auth/credentials/tests/bindings.py
+++ b/source4/auth/credentials/tests/bindings.py
@@ -23,11 +23,13 @@ Note that this just tests the bindings work. It does not intend to test
the functionality, that's already done in other tests.
"""
-import unittest
from samba import credentials
+import samba.tests
+
+class CredentialsTests(samba.tests.TestCase):
-class CredentialsTests(unittest.TestCase):
def setUp(self):
+ super(CredentialsTests, self).setUp()
self.creds = credentials.Credentials()
def test_set_username(self):