summaryrefslogtreecommitdiff
path: root/source4/lib/policy/tests/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-10 23:33:47 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-11 01:10:49 +0100
commitc2eb036d3f25d7d4456400595aec8f8c8a0b1cb2 (patch)
tree8ad89575f55a70ee64f138778c8e23cbdc4c977d /source4/lib/policy/tests/python
parentb24dd2ca1c5fe66df27b76bc9b5e818623eeb03b (diff)
downloadsamba-c2eb036d3f25d7d4456400595aec8f8c8a0b1cb2.tar.gz
samba-c2eb036d3f25d7d4456400595aec8f8c8a0b1cb2.tar.bz2
samba-c2eb036d3f25d7d4456400595aec8f8c8a0b1cb2.zip
policy/tests: Fix import of TestCase.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/lib/policy/tests/python')
-rw-r--r--source4/lib/policy/tests/python/bindings.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/policy/tests/python/bindings.py b/source4/lib/policy/tests/python/bindings.py
index afe85196c3..08b67e70c9 100644
--- a/source4/lib/policy/tests/python/bindings.py
+++ b/source4/lib/policy/tests/python/bindings.py
@@ -21,10 +21,11 @@
"""
-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"],