aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-02-13 19:56:10 +0100
committerGuido Günther <agx@sigxcpu.org>2012-02-13 19:56:10 +0100
commit7726bca4d55ebf36812a1736420dc55693e93aeb (patch)
tree66e473f6ab85c046d66ce065963cadb4ce8c329e /tests
parentaa2c06d3882d56cc372756c1ce83e09ab9085c0a (diff)
Make sure we test the built modules
not the system ones
Diffstat (limited to 'tests')
-rw-r--r--tests/01_test_help.py2
1 files changed, 2 insertions, 0 deletions
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)