|
6 | 6 | from grpclib import GRPCError
|
7 | 7 | from grpclib.testing import ChannelFor
|
8 | 8 |
|
9 |
| -from viam.components.board import Board, BoardClient |
| 9 | +from viam.components.board import BoardClient |
10 | 10 | from viam.components.board.service import BoardRPCService
|
11 | 11 | from viam.components.generic.service import GenericRPCService
|
12 | 12 | from viam.errors import ResourceNotFoundError
|
@@ -121,11 +121,6 @@ async def test_status(self, board: MockBoard):
|
121 | 121 | assert board.extra == extra
|
122 | 122 | assert board.timeout == loose_approx(1.82)
|
123 | 123 |
|
124 |
| - @pytest.mark.asyncio |
125 |
| - async def test_model_attributes(self, board: MockBoard): |
126 |
| - attrs = await board.model_attributes() |
127 |
| - assert attrs == Board.Attributes(remote=True) |
128 |
| - |
129 | 124 | @pytest.mark.asyncio
|
130 | 125 | async def test_do(self, board: MockBoard):
|
131 | 126 | command = {"command": "args"}
|
@@ -415,14 +410,6 @@ async def test_status(self, board: MockBoard, service: BoardRPCService):
|
415 | 410 | assert board.extra == extra
|
416 | 411 | assert board.timeout == loose_approx(1.1)
|
417 | 412 |
|
418 |
| - @pytest.mark.asyncio |
419 |
| - async def test_model_attributes(self, board: MockBoard, service: BoardRPCService): |
420 |
| - async with ChannelFor([service]) as channel: |
421 |
| - client = BoardClient(name=board.name, channel=channel) |
422 |
| - |
423 |
| - attrs = await client.model_attributes() |
424 |
| - assert attrs == Board.Attributes(remote=True) |
425 |
| - |
426 | 413 | @pytest.mark.asyncio
|
427 | 414 | async def test_do(self, board: MockBoard, service: BoardRPCService):
|
428 | 415 | async with ChannelFor([service]) as channel:
|
|
0 commit comments