aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-01 21:33:34 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-01 21:33:34 +0200
commit23e01324f86644a93701bf17819a55a51dbac72f (patch)
tree1a05d670860c95dba37e531454dd0f3ebb64b03a /scripts
parentg_sorcery/metadata: default_schema (diff)
downloadg-sorcery-23e01324f86644a93701bf17819a55a51dbac72f.tar.gz
g-sorcery-23e01324f86644a93701bf17819a55a51dbac72f.tar.bz2
g-sorcery-23e01324f86644a93701bf17819a55a51dbac72f.zip
executable and the main module added
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/run_tests.py b/scripts/run_tests.py
index 17395ea..49432d7 100755
--- a/scripts/run_tests.py
+++ b/scripts/run_tests.py
@@ -26,6 +26,8 @@ tests_dir = os.path.join(root_dir, 'tests')
# adding the tests directory to the top of the PYTHONPATH
sys.path = [root_dir, tests_dir] + sys.path
+os.environ["PYTHONPATH"] = ':'.join([root_dir, tests_dir])
+
suites = []
# getting the test suites from the python modules (files that ends whit .py)