From 7726bca4d55ebf36812a1736420dc55693e93aeb Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 13 Feb 2012 19:56:10 +0100 Subject: Make sure we test the built modules not the system ones --- tests/01_test_help.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/01_test_help.py b/tests/01_test_help.py index cee79118..1974c302 100644 --- a/tests/01_test_help.py +++ b/tests/01_test_help.py @@ -7,6 +7,8 @@ import unittest class TestHelp(unittest.TestCase): """Test help output of gbp commands""" + os.environ['PYTHONPATH'] = '.' + def testHelp(self): for prog in [ "buildpackage", "import-orig", "import-dsc", "dch" ]: ret = os.system("bin/git-%s --help >/dev/null" % prog) -- cgit v1.2.3