diff --git a/src/viam/services/motion/__init__.py b/src/viam/services/motion/__init__.py index 757f58234..3665d5949 100644 --- a/src/viam/services/motion/__init__.py +++ b/src/viam/services/motion/__init__.py @@ -1,6 +1,5 @@ -from .client import MotionClient, MotionClient as MotionServiceClient +from .client import MotionClient __all__ = [ "MotionClient", - "MotionServiceClient", ] diff --git a/src/viam/services/sensors/__init__.py b/src/viam/services/sensors/__init__.py index 538eda80e..7fe58a7be 100644 --- a/src/viam/services/sensors/__init__.py +++ b/src/viam/services/sensors/__init__.py @@ -1,6 +1,5 @@ -from .client import SensorsClient, SensorsClient as SensorsServiceClient +from .client import SensorsClient __all__ = [ "SensorsClient", - "SensorsServiceClient", ] diff --git a/src/viam/services/vision/__init__.py b/src/viam/services/vision/__init__.py index 828ab573d..179c1e8d6 100644 --- a/src/viam/services/vision/__init__.py +++ b/src/viam/services/vision/__init__.py @@ -1,8 +1,7 @@ -from .client import Classification, Detection, VisionClient, VisionClient as VisionServiceClient +from .client import Classification, Detection, VisionClient __all__ = [ "Classification", "Detection", "VisionClient", - "VisionServiceClient", ] diff --git a/tests/test_motion_service.py b/tests/test_motion_service.py index ca9af7fed..3d06092b9 100644 --- a/tests/test_motion_service.py +++ b/tests/test_motion_service.py @@ -5,7 +5,7 @@ from viam.components.gantry import Gantry from viam.proto.common import Pose, PoseInFrame from viam.proto.service.motion import Constraints, LinearConstraint -from viam.services.motion import MotionClient, MotionServiceClient +from viam.services.motion import MotionClient from . import loose_approx from .mocks.services import MockMotion @@ -80,11 +80,3 @@ async def test_do(self, service: MockMotion): command = {"command": "args"} response = await client.do_command(command) assert response == command - - @pytest.mark.asyncio - async def test_alias(self, service: MockMotion): - async with ChannelFor([service]) as channel: - client = MotionServiceClient(MOTION_SERVICE_NAME, channel) - command = {"command": "args"} - response = await client.do_command(command) - assert response == command diff --git a/tests/test_sensors_service.py b/tests/test_sensors_service.py index d2d9e2587..7e3112d6c 100644 --- a/tests/test_sensors_service.py +++ b/tests/test_sensors_service.py @@ -3,7 +3,7 @@ from viam.proto.common import GeoPoint, Orientation, ResourceName, Vector3 from viam.proto.service.sensors import Readings -from viam.services.sensors import SensorsClient, SensorsServiceClient +from viam.services.sensors import SensorsClient from viam.utils import primitive_to_value from . import loose_approx @@ -102,11 +102,3 @@ async def test_do(self, service: MockSensors): command = {"command": "args"} response = await client.do_command(command) assert response == command - - @pytest.mark.asyncio - async def test_alias(self, service: MockSensors): - async with ChannelFor([service]) as channel: - client = SensorsServiceClient(SENSOR_SERVICE_NAME, channel) - command = {"command": "args"} - response = await client.do_command(command) - assert response == command diff --git a/tests/test_vision_service.py b/tests/test_vision_service.py index 989f7ba0a..d5408c6ca 100644 --- a/tests/test_vision_service.py +++ b/tests/test_vision_service.py @@ -16,7 +16,6 @@ Detection, Classification, VisionClient, - VisionServiceClient, ) from .mocks.services import MockVision @@ -153,11 +152,3 @@ async def test_do(self, service: MockVision): command = {"command": "args"} response = await client.do_command(command) assert response == command - - @pytest.mark.asyncio - async def test_alias(self, service: MockVision): - async with ChannelFor([service]) as channel: - client = VisionServiceClient(VISION_SERVICE_NAME, channel) - command = {"command": "args"} - response = await client.do_command(command) - assert response == command