Skip to content

Commit

Permalink
add back in expected failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleon95 committed Feb 6, 2024
1 parent 679fe1f commit e63267d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/tests/opentrons/protocol_api_integration/test_trashes.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ def test_trash_search() -> None:
"2.16",
"OT-2",
False,
# This should ideally raise, matching OT-2 behavior on prior Protocol API versions.
# It currently does not because Protocol API v2.15's trashes are implemented as
# addressable areas, not labware--and they're only brought into existence
# *on first use,* not at the beginning of a protocol.
#
# The good news is that even though the conflicting load will not raise like we want,
# something in the protocol will eventually raise, e.g. when a pipette goes to drop a
# tip in the fixed trash and finds that a fixed trash can't exist there because there's
# a labware.
marks=pytest.mark.xfail(strict=True, raises=pytest.fail.Exception),
),
pytest.param(
"2.16",
Expand Down

0 comments on commit e63267d

Please sign in to comment.