summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/dcerpc/registry.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/samba/tests/dcerpc/registry.py')
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/registry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/dcerpc/registry.py b/source4/scripting/python/samba/tests/dcerpc/registry.py
index 526b2340cc..f1cd83790d 100644
--- a/source4/scripting/python/samba/tests/dcerpc/registry.py
+++ b/source4/scripting/python/samba/tests/dcerpc/registry.py
@@ -18,11 +18,11 @@
#
from samba.dcerpc import winreg
-import unittest
from samba.tests import RpcInterfaceTestCase
class WinregTests(RpcInterfaceTestCase):
+
def setUp(self):
self.conn = winreg.winreg("ncalrpc:", self.get_loadparm(),
self.get_credentials())