Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ee4aeaf
)
Fix incorrect f-string
41/73141/1
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Tue, 4 Jan 2022 22:08:27 +0000
(23:08 +0100)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Tue, 4 Jan 2022 22:08:27 +0000
(23:08 +0100)
Change-Id: I463dc155d03b0d5c86b72f4fb7868c1aa7c29a0b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
xtesting/core/campaign.py
patch
|
blob
|
history
diff --git
a/xtesting/core/campaign.py
b/xtesting/core/campaign.py
index
5c5744e
..
dbde42d
100644
(file)
--- a/
xtesting/core/campaign.py
+++ b/
xtesting/core/campaign.py
@@
-81,7
+81,7
@@
class Campaign():
"^{os.environ['HTTP_DST_URL']}/*", '',
output["results"][i]["details"]["links"][j])
Campaign.__logger.debug("data to archive: \n%s", output)
- with open("{env.get('BUILD_TAG')}.json", "w",
+ with open(
f
"{env.get('BUILD_TAG')}.json", "w",
encoding='utf-8') as dfile:
json.dump(output, dfile)
except Exception: # pylint: disable=broad-except