@@ -89,7 +89,7 @@ async def test_the_arm_is_parked_when_every_drive_is_at_its_parking_position(sel
8989 }
9090 ),
9191 ):
92- self .assertTrue (await iswap .request_parked ())
92+ self .assertTrue (await iswap .request_is_parked ())
9393
9494 async def test_the_arm_is_not_parked_when_a_drive_is_moved (self ):
9595 iswap , _ = await gripper ()
@@ -100,7 +100,7 @@ async def test_the_arm_is_not_parked_when_a_drive_is_moved(self):
100100 c .elbow_predefined_y_positions_increments .parking - 10
101101 )
102102 with patch .object (iswap , "request_joint_state" , new = AsyncMock (return_value = joints )):
103- self .assertFalse (await iswap .request_parked ())
103+ self .assertFalse (await iswap .request_is_parked ())
104104
105105 async def test_z_above_the_parking_position_is_still_parked (self ):
106106 iswap , _ = await gripper ()
@@ -112,7 +112,7 @@ async def test_z_above_the_parking_position_is_still_parked(self):
112112 + c .elbow_z_offset_above_finger
113113 )
114114 with patch .object (iswap , "request_joint_state" , new = AsyncMock (return_value = joints )):
115- self .assertTrue (await iswap .request_parked ())
115+ self .assertTrue (await iswap .request_is_parked ())
116116
117117
118118class TestJawMoves (unittest .IsolatedAsyncioTestCase ):
@@ -385,7 +385,7 @@ async def test_it_never_asks_the_master_for_its_parked_flag(self):
385385 """`C0 RG` is answered wrongly by the firmware, so nothing may read it."""
386386 iswap , sent = await gripper ()
387387
388- await iswap .request_parked ()
388+ await iswap .request_is_parked ()
389389
390390 self .assertEqual ([command for command in sent if command .startswith ("C0RG" )], [])
391391
@@ -394,13 +394,13 @@ async def test_a_parked_arm_is_parked_and_a_moved_one_is_not(self):
394394 c = iswap .configuration
395395
396396 await iswap .park ()
397- self .assertTrue (await iswap .request_parked ())
397+ self .assertTrue (await iswap .request_is_parked ())
398398
399399 assert c .elbow_predefined_y_positions_increments is not None
400400 await iswap .elbow_move_to_y_position (
401401 c .y_increments_to_mm (c .elbow_predefined_y_positions_increments .parking ) - 50.0
402402 )
403- self .assertFalse (await iswap .request_parked ())
403+ self .assertFalse (await iswap .request_is_parked ())
404404
405405 async def test_the_jaws_are_part_of_it (self ):
406406 """Parking closes them, and the gripper's table names that stop its home."""
@@ -412,7 +412,7 @@ async def test_the_jaws_are_part_of_it(self):
412412 home = c .gripper_increments_to_mm (c .gripper_drive_predefined_increments .home )
413413 await iswap .gripper_move_to_jaw_position (home + 5.0 )
414414
415- self .assertFalse (await iswap .request_parked ())
415+ self .assertFalse (await iswap .request_is_parked ())
416416
417417 async def test_a_drive_within_the_tolerance_still_counts_as_parked (self ):
418418 iswap , _ = await gripper ()
@@ -424,9 +424,9 @@ async def test_a_drive_within_the_tolerance_still_counts_as_parked(self):
424424 assert c .elbow_predefined_y_positions_increments is not None
425425 stop = c .elbow_predefined_y_positions_increments .parking
426426 iswap .update_location_by_reference_point (y = c .y_increments_to_mm (stop + 2 ))
427- self .assertTrue (await iswap .request_parked ())
427+ self .assertTrue (await iswap .request_is_parked ())
428428 iswap .update_location_by_reference_point (y = c .y_increments_to_mm (stop + 20 ))
429- self .assertFalse (await iswap .request_parked ())
429+ self .assertFalse (await iswap .request_is_parked ())
430430
431431 async def test_a_parked_arm_above_its_z_stop_is_parked_and_below_it_is_not (self ):
432432 """Parked from 284 mm, the device stands at `rz` 26660 against a stop of 25400."""
@@ -438,9 +438,9 @@ async def test_a_parked_arm_above_its_z_stop_is_parked_and_below_it_is_not(self)
438438 offset = c .elbow_z_offset_above_finger
439439
440440 iswap .update_location_by_reference_point (z = c .z_increments_to_mm (stop + 1260 ) + offset )
441- self .assertTrue (await iswap .request_parked ())
441+ self .assertTrue (await iswap .request_is_parked ())
442442 iswap .update_location_by_reference_point (z = c .z_increments_to_mm (stop - 20 ) + offset )
443- self .assertFalse (await iswap .request_parked ())
443+ self .assertFalse (await iswap .request_is_parked ())
444444
445445
446446class TestElbowXMoves (unittest .IsolatedAsyncioTestCase ):
0 commit comments