python/tests: remove unused imports
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Oct 2018 01:33:49 +0000 (14:33 +1300)
committerNoel Power <npower@samba.org>
Thu, 25 Oct 2018 19:45:54 +0000 (21:45 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/tests/password_quality.py
python/samba/tests/s3idmapdb.py
python/samba/tests/s3param.py
python/samba/tests/s3passdb.py
python/samba/tests/s3registry.py
python/samba/tests/s3windb.py

index bc8ced0aa150520bbd94bc68365edddb4ce3d8ef..4ecf34a59bfbf0f83cc919b02fda2ca481fc79eb 100644 (file)
@@ -21,7 +21,7 @@
 """
 
 from samba import check_password_quality
-from samba.tests import TestCase, TestCaseInTempDir
+from samba.tests import TestCase
 
 
 class PasswordQualityTests(TestCase):
index 63c7758c07570881977580ae9307dd8806a9b7d7..e3e2346949322ac33795e021fa0a3de83708694a 100644 (file)
@@ -18,8 +18,7 @@
 """Tests for samba.samba3."""
 
 from samba.samba3 import IdmapDatabase
-from samba.tests import TestCase, TestCaseInTempDir
-from samba.dcerpc.security import dom_sid
+from samba.tests import TestCase
 import os
 
 for p in ["../../../../../testdata/samba3", "../../../../testdata/samba3"]:
index d92d35488e07fd8b804ed15b6e3869156f7ded41..bdbdbced5e014a60fadbf5a72e0e6d79781ba0ec 100644 (file)
@@ -18,7 +18,7 @@
 """Tests for samba.samba3.param"""
 
 from samba.samba3 import param as s3param
-from samba.tests import TestCase, TestCaseInTempDir
+from samba.tests import TestCaseInTempDir
 import os
 
 
index 329614783ae7363deddbab007ba858c2613d5acb..7b0f34ebca0e7281f053c4d856941ab0a7cec696 100644 (file)
@@ -19,7 +19,7 @@
 
 from samba.samba3 import passdb
 from samba.samba3 import param as s3param
-from samba.tests import TestCase, TestCaseInTempDir
+from samba.tests import TestCaseInTempDir
 from samba.dcerpc.security import dom_sid
 import os
 
index c64f181b895b7270ebeb040f6564f8bc6a9e592e..e049e9de9272b41a094c0b783fcc5b152b2c895c 100644 (file)
@@ -18,8 +18,7 @@
 """Tests for samba.samba3."""
 
 from samba.samba3 import Registry
-from samba.tests import TestCase, TestCaseInTempDir
-from samba.dcerpc.security import dom_sid
+from samba.tests import TestCase
 import os
 
 
index 9a41c804e131197e797d4c1c8906d50dbf6d1f22..1ad9b3487ca2a3e389b85c4990a07b8dfa57f4c3 100644 (file)
@@ -18,7 +18,7 @@
 """Tests for samba.samba3."""
 
 from samba.samba3 import WinsDatabase
-from samba.tests import TestCase, TestCaseInTempDir
+from samba.tests import TestCase
 import os