diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-06 17:47:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-06 17:47:04 +0000 |
commit | 40411080fa108a8e1f00007c7e56ba4f827c8ead (patch) | |
tree | 8439618b730428aac75604daed42331cb650d69e | |
parent | e41cfb3059108596e9c6ac4ee1e254f86063f3d2 (diff) | |
parent | b8aa6a679f759174881b0b7a90d8403fed2bcc0e (diff) |
Merge "[Promise] Fix bug opening the json result file" into stable/colorado
-rwxr-xr-x | testcases/features/promise.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/features/promise.py b/testcases/features/promise.py index a7899fec5..5b23614d6 100755 --- a/testcases/features/promise.py +++ b/testcases/features/promise.py @@ -182,8 +182,8 @@ def main(): os.environ["OS_TEST_NETWORK"] = network_dic["net_id"] os.chdir(PROMISE_REPO) - results_file_name = 'promise-results.json' - results_file = open(RESULTS_DIR + '/' + results_file_name, 'w+') + results_file_name = RESULTS_DIR + '/' + 'promise-results.json' + results_file = open(results_file_name, 'w+') cmd = 'npm run -s test -- --reporter json' logger.info("Running command: %s" % cmd) |