We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a2a7e9 commit dcd0213Copy full SHA for dcd0213
tests/simulators/webots/test_webots.py
@@ -27,14 +27,16 @@ def test_dynamics_scenarios(launchWebots):
27
cleanup_results()
28
29
timeout_seconds = 300
30
-
+
31
command = f"bash {WEBOTS_ROOT}/webots --no-rendering --minimize --batch {WEBOTS_WORLD_FILE_PATH}"
32
33
try:
34
subprocess.run(command, shell=True, timeout=timeout_seconds)
35
except subprocess.TimeoutExpired:
36
- pytest.fail(f"Webots test exceeded the timeout of {timeout_seconds} seconds and failed.")
37
+ pytest.fail(
+ f"Webots test exceeded the timeout of {timeout_seconds} seconds and failed."
38
+ )
39
40
data = receive_results()
41
assert data != None
42
start_z = float(data.split(",")[1].strip(" )]"))
0 commit comments