From edf33b3139d761069ee04f43ad62efc041ad881b Mon Sep 17 00:00:00 2001 From: Darragh Bailey Date: Wed, 8 Jul 2015 11:19:18 +0100 Subject: [PATCH] Remove unneeded wrapping of imports Remove the path injection being added by the helper module which was a carry over from when the tests where executed directly via Makefile. Change-Id: I435f039d75fdf55b295060656d071b011190973d --- tests/helper.py | 5 ----- tests/test_jenkins.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 tests/helper.py diff --git a/tests/helper.py b/tests/helper.py deleted file mode 100644 index a712654..0000000 --- a/tests/helper.py +++ /dev/null @@ -1,5 +0,0 @@ -import os -import sys -sys.path.insert(0, os.path.abspath('..')) - -import jenkins # noqa diff --git a/tests/test_jenkins.py b/tests/test_jenkins.py index b6c6698..7301501 100644 --- a/tests/test_jenkins.py +++ b/tests/test_jenkins.py @@ -11,7 +11,7 @@ import six from six.moves.urllib.error import HTTPError from six.moves.urllib.request import build_opener -from tests.helper import jenkins +import jenkins def get_mock_urlopen_return_value(a_dict=None):