diff --git a/api/tests/opentrons/hardware_control/instruments/test_instrument_calibration.py b/api/tests/opentrons/hardware_control/instruments/test_instrument_calibration.py index 11f2605679f6..6aa3ca2a009a 100644 --- a/api/tests/opentrons/hardware_control/instruments/test_instrument_calibration.py +++ b/api/tests/opentrons/hardware_control/instruments/test_instrument_calibration.py @@ -99,9 +99,9 @@ def test_load_tip_length( decoy.when(calibration_storage.helpers.hash_labware_def(tip_rack_dict)).then_return( "asdfghjk" ) - decoy.when(calibration_storage.helpers.uri_from_definition(tip_rack_dict)).then_return( - "def456" - ) + decoy.when( + calibration_storage.helpers.uri_from_definition(tip_rack_dict) + ).then_return(LabwareUri("def456")) result = subject.load_tip_length_for_pipette( pipette_id="abc123", tiprack=tip_rack_definition diff --git a/robot-server/tests/service/tip_length/test_tip_length_management.py b/robot-server/tests/service/tip_length/test_tip_length_management.py index 78946cfeabd7..ca76e01d32ba 100644 --- a/robot-server/tests/service/tip_length/test_tip_length_management.py +++ b/robot-server/tests/service/tip_length/test_tip_length_management.py @@ -33,9 +33,7 @@ def test_access_tip_length_calibration(api_client, set_up_tip_length_temp_direct assert resp.json()["data"] == [] -def test_delete_tip_length_calibration( - api_client, set_up_tip_length_temp_directory -): +def test_delete_tip_length_calibration(api_client, set_up_tip_length_temp_directory): resp = api_client.delete( f"/calibration/tip_length?pipette_id={FAKE_PIPETTE_ID}&" f"tiprack_uri={WRONG_LW_HASH}"