Skip to content

Commit

Permalink
resolved linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni-t committed Jan 15, 2025
1 parent 6f3906a commit 3a1b24b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,12 @@ def test_get_pipette_load_name(
) -> None:
"""It should get the pipette's API-specific load name."""
decoy.when(mock_engine_client.state.pipettes.get("abc123")).then_return(
LoadedPipette.construct(pipetteName=PipetteNameType.P300_SINGLE) # type: ignore[call-arg]
LoadedPipette.model_construct(pipetteName=PipetteNameType.P300_SINGLE) # type: ignore[call-arg]
)
assert subject.get_load_name() == "p300_single"

decoy.when(mock_engine_client.state.pipettes.get("abc123")).then_return(
LoadedPipette.construct(pipetteName=PipetteNameType.P1000_96) # type: ignore[call-arg]
LoadedPipette.model_construct(pipetteName=PipetteNameType.P1000_96) # type: ignore[call-arg]
)
assert subject.get_load_name() == "flex_96channel_1000"

Expand Down Expand Up @@ -1598,7 +1598,7 @@ def test_load_liquid_class(
test_transfer_props = decoy.mock(cls=TransferProperties)

decoy.when(mock_engine_client.state.pipettes.get("abc123")).then_return(
LoadedPipette.construct(pipetteName=PipetteNameType.P50_SINGLE_FLEX) # type: ignore[call-arg]
LoadedPipette.model_construct(pipetteName=PipetteNameType.P50_SINGLE_FLEX) # type: ignore[call-arg]
)
decoy.when(
test_liq_class.get_for("flex_1channel_50", "opentrons_flex_96_tiprack_50ul")
Expand Down

0 comments on commit 3a1b24b

Please sign in to comment.