diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-06 14:22:26 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-06 14:22:26 +0200 |
commit | 56fa7f26dae9c41235ea1251e1b7d2ea1b389b7c (patch) | |
tree | a5c191dbf83a7100750dd1a26bffd04b054b1877 /testcases | |
parent | 44364e6db1941410632e6ab732e72bcc718a86da (diff) |
[Promise] Fix bug opening the json result file
Change-Id: I8882ffc8139095a79b6542c508a6293ae231f232
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases')
-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 a7899fec..5b23614d 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) |