Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charitylxy committed Jan 11, 2024
1 parent 7bcac6a commit 8ad3d27
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/component/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def test___tasks_with_different_names___hash___not_equal(generate_task):


@pytest.mark.device_name("bridgeTester")
@pytest.mark.grpc_xfail(
reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError
)
@pytest.mark.parametrize(
"shunt_resistor_value, shunt_resistor_location, shunt_resistor_select, shunt_resistor_source, bridge_resistance, skip_unsupported_channels",
[
Expand All @@ -54,7 +57,6 @@ def test___tasks_with_different_names___hash___not_equal(generate_task):
(100000, ShuntElementLocation.R3, ShuntCalSelect.A, ShuntCalSource.DEFAULT, 0.2, False),
],
)
@pytest.mark.grpc_xfail(reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError)
def test___perform_bridge_shunt_cal___no_errors(
ai_bridge_task: nidaqmx.Task,
shunt_resistor_value,
Expand All @@ -80,7 +82,9 @@ def test___perform_bridge_shunt_cal___no_errors(


@pytest.mark.device_name("bridgeTester")
@pytest.mark.grpc_xfail(reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError)
@pytest.mark.grpc_xfail(
reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError
)
def test___perform_bridge_shunt_cal_default___no_errors(
ai_bridge_task: nidaqmx.Task,
) -> None:
Expand All @@ -92,6 +96,9 @@ def test___perform_bridge_shunt_cal_default___no_errors(


@pytest.mark.device_name("bridgeTester")
@pytest.mark.grpc_xfail(
reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError
)
@pytest.mark.parametrize(
"shunt_resistor_value, shunt_resistor_location, shunt_resistor_select, shunt_resistor_source, skip_unsupported_channels",
[
Expand All @@ -101,7 +108,6 @@ def test___perform_bridge_shunt_cal_default___no_errors(
(100000, ShuntElementLocation.R3, ShuntCalSelect.A, ShuntCalSource.DEFAULT, False),
],
)
@pytest.mark.grpc_xfail(reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError)
def test___perform_strain_shunt_cal___no_errors(
ai_strain_gage_task: nidaqmx.Task,
shunt_resistor_value,
Expand All @@ -125,7 +131,9 @@ def test___perform_strain_shunt_cal___no_errors(


@pytest.mark.device_name("bridgeTester")
@pytest.mark.grpc_xfail(reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError)
@pytest.mark.grpc_xfail(
reason="Requires NI gRPC Device Server version 2.5 or later", raises=RpcError
)
def test___perform_strain_shunt_cal_default___no_errors(
ai_strain_gage_task: nidaqmx.Task,
) -> None:
Expand Down

0 comments on commit 8ad3d27

Please sign in to comment.