From f43e5092885dd860ee45f004a658fb5c52d80114 Mon Sep 17 00:00:00 2001 From: Konboi Date: Mon, 6 Nov 2023 14:55:15 +0900 Subject: [PATCH] fix using method --- launchable/test_runners/robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchable/test_runners/robot.py b/launchable/test_runners/robot.py index b74d0dc3d..3b3bf926c 100644 --- a/launchable/test_runners/robot.py +++ b/launchable/test_runners/robot.py @@ -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":