From 2b898c094a88f99e987f48a7d116d4a6009b456c Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 22 Aug 2012 15:15:43 -0400 Subject: tweaked tests for python 2.5 --- testsuite/Testlib/TestClient/TestTools/TestPOSIX/TestHardlink.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuite/Testlib/TestClient/TestTools/TestPOSIX/TestHardlink.py') diff --git a/testsuite/Testlib/TestClient/TestTools/TestPOSIX/TestHardlink.py b/testsuite/Testlib/TestClient/TestTools/TestPOSIX/TestHardlink.py index ae48bf04e..6221bd81c 100644 --- a/testsuite/Testlib/TestClient/TestTools/TestPOSIX/TestHardlink.py +++ b/testsuite/Testlib/TestClient/TestTools/TestPOSIX/TestHardlink.py @@ -5,7 +5,9 @@ from mock import Mock, MagicMock, patch from Bcfg2.Client.Tools.POSIX.Hardlink import * from .Test__init import get_posix_object from .Testbase import TestPOSIXTool -from .....common import * +# python 2.5 can't import * from relative imports +from .....common import XI_NAMESPACE, XI, inPy3k, call, builtins, u, can_skip, \ + skip, skipIf, skipUnless, Bcfg2TestCase, DBModelTestCase, syncdb, patchIf class TestPOSIXHardlink(TestPOSIXTool): test_obj = POSIXHardlink -- cgit v1.2.3-1-g7c22