policy/tests: Fix import of TestCase.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 10 Nov 2011 22:33:47 +0000 (23:33 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 11 Nov 2011 00:10:49 +0000 (01:10 +0100)
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104

source4/lib/policy/tests/python/bindings.py

index afe85196c39e806ef6f697424a6d633fdfd8d246..08b67e70c96ad71c699021705c1f9f3646a87279 100644 (file)
 
 """
 
-import samba
+from samba.tests import TestCase
 from samba import policy
 
-class PolicyTests(samba.tests.TestCase):
+
+class PolicyTests(TestCase):
 
     def test_get_gpo_flags(self):
         self.assertEquals(["GPO_FLAG_USER_DISABLE"],