Skip to content

Commit cc77ef3

Browse files
committed
FIX test_start by adding motors on command
1 parent 6df08ad commit cc77ef3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_RWS2_POST.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def test_set_digital_io(client):
4040
assert client.get_digital_io("motion_program_error") == int(io_state)
4141

4242
def test_start(client):
43+
client.set_motors_on()
44+
time.sleep(0.5) # Wait for motors to turn on
4345
client.start()
4446
print("Robot started.")
4547

0 commit comments

Comments
 (0)