Skip to content

Commit dcd0213

Browse files
authored
Apply black and isort to test-webots file (#324)
1 parent 8a2a7e9 commit dcd0213

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/simulators/webots/test_webots.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@ def test_dynamics_scenarios(launchWebots):
2727
cleanup_results()
2828

2929
timeout_seconds = 300
30-
30+
3131
command = f"bash {WEBOTS_ROOT}/webots --no-rendering --minimize --batch {WEBOTS_WORLD_FILE_PATH}"
3232

3333
try:
3434
subprocess.run(command, shell=True, timeout=timeout_seconds)
3535
except subprocess.TimeoutExpired:
36-
pytest.fail(f"Webots test exceeded the timeout of {timeout_seconds} seconds and failed.")
37-
36+
pytest.fail(
37+
f"Webots test exceeded the timeout of {timeout_seconds} seconds and failed."
38+
)
39+
3840
data = receive_results()
3941
assert data != None
4042
start_z = float(data.split(",")[1].strip(" )]"))

0 commit comments

Comments
 (0)