summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/python
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/libnet/python')
-rw-r--r--source4/torture/libnet/python/samr-test.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/libnet/python/samr-test.py b/source4/torture/libnet/python/samr-test.py
index d68456b79d..211792c1db 100644
--- a/source4/torture/libnet/python/samr-test.py
+++ b/source4/torture/libnet/python/samr-test.py
@@ -26,11 +26,9 @@
# PYTHONPATH="$samba4srcdir/torture/libnet/python" $SUBUNITRUN samr-test -Ukma-exch.devel/Administrator%333
#
-import sys
import os
from samba import net
-import unittest
import samba.tests
if not "ACCOUNT_NAME" in os.environ.keys():
@@ -48,7 +46,7 @@ creds = samba.tests.cmdline_credentials
# Tests start here
#
-class Libnet_SetPwdTest(unittest.TestCase):
+class Libnet_SetPwdTest(samba.tests.TestCase):
########################################################################################