summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-09-06 12:30:55 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-06 12:30:55 +0000
commit32486dde81418ded8a18e1f3a1dfacaa751f6865 (patch)
treecb273b9bd3465785ea44c0cacaf9f0cac933378d /testcases
parent21979355ccacaa88aa9d60ffca2301a70f9c3855 (diff)
parent56fa7f26dae9c41235ea1251e1b7d2ea1b389b7c (diff)
Merge "[Promise] Fix bug opening the json result file"
Diffstat (limited to 'testcases')
-rwxr-xr-xtestcases/features/promise.py4
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)