Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dixonjoel committed Feb 28, 2024
1 parent 658aaf1 commit e7bc29c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ def message_decoder(field_index: int, key: Key) -> Decoder:
type_pb2.Field.TYPE_BOOL: bool(),
type_pb2.Field.TYPE_STRING: str(),
type_pb2.Field.TYPE_ENUM: int(),
type_pb2.Field.TYPE_MESSAGE: Message(),
}

_MESSAGE_TYPE_TO_DECODER = {
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def test___measurement_service___register_measurement_method___method_registered
("UInt32", DataType.UInt32, 3994),
("UInt64", DataType.UInt64, 3456),
("UInt64", DataType.UInt64, False),
("DoubleXYData", DataType.DoubleXYData, double_xy_data),
("DoubleXYDataArray", DataType.DoubleXYDataArray1D, [double_xy_data, double_xy_data]),
("DoubleXYData", DataType.DoubleXYData, None),
("DoubleXYDataArray", DataType.DoubleXYDataArray1D, None),
],
)
def test___measurement_service___add_configuration__configuration_added(
Expand Down

0 comments on commit e7bc29c

Please sign in to comment.