Skip to content

Commit 8493667

Browse files
authored
test(api): fix test_order_of_water_distribution_steps_using_multi_dispense_without_conditioning_volume() (#19049)
# Overview In PR #19030, I introduced the new argument `is_last_dispense_in_tip` to `dispense_liquid_class_during_multi_dispense()` at the same time @sanni-t in PR #19025 added the new test case `test_order_of_water_distribution_steps_using_multi_dispense_without_conditioning_volume()`. When both changes were checked in together, the new test case did not have the new argument, causing the test to fail. This fix updates the test case to expect the new `is_last_dispense_in_tip` argument. ## Test Plan and Hands on Testing Ran the test locally, and run it in CI. ## Risk assessment Low. Just fixes a test, has no effect on behavior.
1 parent 8b484e9 commit 8493667

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/tests/opentrons/protocol_api_integration/test_transfer_with_liquid_classes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,7 @@ def test_order_of_water_distribution_steps_using_multi_dispense_without_conditio
17381738
trash_location=mock.ANY,
17391739
conditioning_volume=0,
17401740
disposal_volume=disposal_volume,
1741+
is_last_dispense_in_tip=False,
17411742
),
17421743
mock.call.dispense_liquid_class_during_multi_dispense(
17431744
mock.ANY,
@@ -1756,6 +1757,7 @@ def test_order_of_water_distribution_steps_using_multi_dispense_without_conditio
17561757
trash_location=mock.ANY,
17571758
conditioning_volume=0,
17581759
disposal_volume=disposal_volume,
1760+
is_last_dispense_in_tip=True,
17591761
),
17601762
mock.call.aspirate_liquid_class(
17611763
mock.ANY,
@@ -1786,6 +1788,7 @@ def test_order_of_water_distribution_steps_using_multi_dispense_without_conditio
17861788
trash_location=mock.ANY,
17871789
conditioning_volume=0,
17881790
disposal_volume=disposal_volume,
1791+
is_last_dispense_in_tip=False,
17891792
),
17901793
mock.call.dispense_liquid_class_during_multi_dispense(
17911794
mock.ANY,
@@ -1804,6 +1807,7 @@ def test_order_of_water_distribution_steps_using_multi_dispense_without_conditio
18041807
trash_location=mock.ANY,
18051808
conditioning_volume=0,
18061809
disposal_volume=disposal_volume,
1810+
is_last_dispense_in_tip=True,
18071811
),
18081812
mock.call.drop_tip_in_disposal_location(
18091813
mock.ANY,

0 commit comments

Comments
 (0)