summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/tests/samdb.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-01 04:46:40 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-03-01 04:46:51 +0100
commit31a718aa27bcf3f56347a109f6d0bb553814c052 (patch)
tree3c4d5dba41a7811a52c0ff889bfeaf9786644abb /source4/scripting/python/samba/tests/samdb.py
parent1ef50d5de4e1341703a35200e4c90ec4fba0ce89 (diff)
downloadsamba-31a718aa27bcf3f56347a109f6d0bb553814c052.tar.gz
samba-31a718aa27bcf3f56347a109f6d0bb553814c052.tar.xz
samba-31a718aa27bcf3f56347a109f6d0bb553814c052.zip
General cleanups of python code, hinted by pyflakes.
Diffstat (limited to 'source4/scripting/python/samba/tests/samdb.py')
-rw-r--r--source4/scripting/python/samba/tests/samdb.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/tests/samdb.py b/source4/scripting/python/samba/tests/samdb.py
index db57ca64a21..73be13ca2a6 100644
--- a/source4/scripting/python/samba/tests/samdb.py
+++ b/source4/scripting/python/samba/tests/samdb.py
@@ -17,13 +17,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from samba.auth import system_session
-from samba.credentials import Credentials
import os
from samba.provision import setup_samdb, guess_names, make_smbconf, find_setup_dir
-from samba.samdb import SamDB
from samba.tests import TestCaseInTempDir
from samba.dcerpc import security
-from unittest import TestCase
import uuid
from samba import param
@@ -48,7 +45,6 @@ class SamDBTestCase(TestCaseInTempDir):
domainguid = str(uuid.uuid4())
policyguid = str(uuid.uuid4())
domainsid = security.random_sid()
- hostguid = str(uuid.uuid4())
path = os.path.join(self.tempdir, "samdb.ldb")
session_info = system_session()