Skip to content

Commit

Permalink
Merge pull request #646 from launchableinc/fix-robot-bug
Browse files Browse the repository at this point in the history
Fix to use total_seconds() method
  • Loading branch information
Konboi authored Nov 6, 2023
2 parents b4babde + f43e509 commit 22d7451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launchable/test_runners/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def parse_suite(suite: ET.Element):
testcase = ET.SubElement(testsuite, "testcase", {
"name": str(test_name),
"classname": str(suite_name),
"time": str(duration.microseconds / 1000 / 1000) if duration is not None else '0',
"time": str(duration.total_seconds()) if duration is not None else '0',
})

if status == "FAIL":
Expand Down

0 comments on commit 22d7451

Please sign in to comment.