From 5c18c20ec4e790792635e22cc1065ec2956ebd3e Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Thu, 10 May 2012 19:07:28 +0100 Subject: [PATCH] Change sys.path to import the development version in tests! --- test/Framework/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Framework/__init__.py b/test/Framework/__init__.py index 61f55266..89d46019 100644 --- a/test/Framework/__init__.py +++ b/test/Framework/__init__.py @@ -4,7 +4,7 @@ import unittest import httplib import traceback -sys.path.append( os.path.join( os.path.dirname( __file__ ), "..", "..", "src" ) ) +sys.path = [ os.path.join( os.path.dirname( __file__ ), "..", "..", "src" ) ] + sys.path import github class FakeHttpResponse: