Skip to content

Commit 79cd1ad

Browse files
hexbabeSean Yu
andauthored
RSDK-4544: Clean up leftover move_single_component mocks in tests (#411)
Co-authored-by: Sean Yu <[email protected]>
1 parent 8659416 commit 79cd1ad

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/mocks/services.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,9 @@ class MockMotion(MotionServiceBase):
315315
def __init__(
316316
self,
317317
move_responses: Dict[str, bool],
318-
move_single_component_responses: Dict[str, bool],
319318
get_pose_responses: Dict[str, PoseInFrame],
320319
):
321320
self.move_responses = move_responses
322-
self.move_single_component_responses = move_single_component_responses
323321
self.get_pose_responses = get_pose_responses
324322
self.constraints: Optional[Constraints] = None
325323
self.extra: Optional[Mapping[str, Any]] = None

tests/test_motion_service.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
MOVE_CONSTRAINTS = Constraints(linear_constraint=[LinearConstraint(), LinearConstraint(line_tolerance_mm=2)])
1414
MOVE_RESPONSES = {"arm": False, "gantry": True}
15-
MOVE_SINGLE_COMPONENT_RESPONSES = {"arm": True, "gantry": False}
1615
GET_POSE_RESPONSES = {
1716
"arm": PoseInFrame(reference_frame="arm", pose=Pose(x=1, y=2, z=3, o_x=2, o_y=3, o_z=4, theta=20)),
1817
"gantry": PoseInFrame(reference_frame="gantry", pose=Pose(x=2, y=3, z=4, o_x=3, o_y=4, o_z=5, theta=21)),
@@ -33,7 +32,6 @@
3332
def service() -> MockMotion:
3433
return MockMotion(
3534
move_responses=MOVE_RESPONSES,
36-
move_single_component_responses=MOVE_SINGLE_COMPONENT_RESPONSES,
3735
get_pose_responses=GET_POSE_RESPONSES,
3836
)
3937

0 commit comments

Comments
 (0)