commit | 3501ad46c2eeb456b929ceeb95e52e4a65722e34 | [log] [tgz] |
---|---|---|
author | gstepanov <gstepanov@mirantis.com> | Thu Feb 05 15:41:39 2015 +0200 |
committer | gstepanov <gstepanov@mirantis.com> | Thu Feb 05 15:41:39 2015 +0200 |
tree | 5ad70e2fd79ef892d2ac677b4d45ac184acaa9dd | |
parent | c3ffac760f890cb41ba8760e3286ca1e6987414d [diff] |
one more
diff --git a/web_app/__init__.py b/web_app/__init__.py index 8a49095..dffc1a1 100644 --- a/web_app/__init__.py +++ b/web_app/__init__.py
@@ -21,11 +21,11 @@ def load_test(test_name): test_name += '.json' - with open("../" + test_name, 'rt') as f: + with open(TEST_PATH + "/" + test_name, 'rt') as f: raw = f.read() if raw == '': - raise Exception("Test is emoty") + raise Exception("Test is empty") test = json.loads(raw)