Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dixonjoel committed Jun 14, 2024
1 parent b18ec9e commit c3a01e2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/unit/_drivers/test_grpcdevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ def test___use_grpc_device_server_false___get_grpc_device_server_location___retu
discovery_client: Mock,
mocker: MockerFixture,
) -> None:
mocker.patch(
"ni_meas_plugin_sdk_service._drivers._grpcdevice.USE_GRPC_DEVICE_SERVER", False
)
mocker.patch("ni_meas_plugin_sdk_service._drivers._grpcdevice.USE_GRPC_DEVICE_SERVER", False)

service_location = get_grpc_device_server_location(
discovery_client, fake_driver.GRPC_SERVICE_INTERFACE_NAME
Expand Down Expand Up @@ -147,9 +145,7 @@ def test___use_grpc_device_server_false___get_insecure_grpc_device_server_channe
grpc_channel_pool: Mock,
mocker: MockerFixture,
) -> None:
mocker.patch(
"ni_meas_plugin_sdk_service._drivers._grpcdevice.USE_GRPC_DEVICE_SERVER", False
)
mocker.patch("ni_meas_plugin_sdk_service._drivers._grpcdevice.USE_GRPC_DEVICE_SERVER", False)

returned_channel = get_insecure_grpc_device_server_channel(
discovery_client, grpc_channel_pool, fake_driver.GRPC_SERVICE_INTERFACE_NAME
Expand Down

0 comments on commit c3a01e2

Please sign in to comment.