From ba41389d3d0860079b1276fb32f1d0d989f2471f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Nov 2011 13:28:02 +1100 Subject: test: fixed several tests to use samba.tests this fixes error checking. Test failures were not being detected otherwise Pair-Programmed-With: Amitay Isaacs --- source4/lib/policy/tests/python/bindings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/policy/tests/python/bindings.py b/source4/lib/policy/tests/python/bindings.py index b872d99cef..afe85196c3 100644 --- a/source4/lib/policy/tests/python/bindings.py +++ b/source4/lib/policy/tests/python/bindings.py @@ -21,10 +21,10 @@ """ -import unittest +import samba from samba import policy -class PolicyTests(unittest.TestCase): +class PolicyTests(samba.tests.TestCase): def test_get_gpo_flags(self): self.assertEquals(["GPO_FLAG_USER_DISABLE"], -- cgit