Code Review
/
functest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
31fe3e1
)
[Promise] Fix bug opening the json result file
55/20455/1
author
jose.lausuch
<jose.lausuch@ericsson.com>
Tue, 6 Sep 2016 12:22:26 +0000
(14:22 +0200)
committer
Jose Lausuch
<jose.lausuch@ericsson.com>
Tue, 6 Sep 2016 13:28:21 +0000
(13:28 +0000)
Change-Id: I8882ffc8139095a79b6542c508a6293ae231f232
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit
56fa7f26dae9c41235ea1251e1b7d2ea1b389b7c
)
testcases/features/promise.py
patch
|
blob
|
history
diff --git
a/testcases/features/promise.py
b/testcases/features/promise.py
index
a7899fe
..
5b23614
100755
(executable)
--- 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)