Skip to content

Commit f94fdc4

Browse files
authored
Fix quotes in report-results.py
To fix the parsing error in the code, I would replace the double quotes around "unknown" with single quotes
1 parent 65897d2 commit f94fdc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

01_resultmodel/report-results.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def start_test(self, test):
3232
"NOT RUN": "NOT RUN",
3333
"NOT SET": "❓ NOT SET",
3434
}
35-
self.f.write(f"| {test.name} | {status_emoji.get(test.status, "unknown")} | {test.elapsed_time.total_seconds()} |\n")
35+
self.f.write(f"| {test.name} | {status_emoji.get(test.status, 'unknown')} | {test.elapsed_time.total_seconds()} |\n")
3636

3737
def end_suite(self,suite):
3838
if suite.tests:
@@ -46,4 +46,4 @@ def main():
4646
result.visit(visitor)
4747

4848
if __name__ == "__main__":
49-
main()
49+
main()

0 commit comments

Comments
 (0)