Skip to content

Commit

Permalink
chore(tests): make dependency resolution test more readable
Browse files Browse the repository at this point in the history
assert error is raised, rather than xfailing when it does, for less confusing output
  • Loading branch information
jvansanten committed May 28, 2024
1 parent 0d214ed commit 6fc3e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_AbsEasyChannelTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ def get_processes(
ValueError,
),
# statebound T2 with implicit (default) statebound dependency
# default dependencies aren't automatically resolved
pytest.param(
[{"unit": "DummyTiedStateT2Unit"}],
["ingest", "combine", 0, "state_t2"],
{"unit": "DummyStateT2Unit"},
None,
marks=pytest.mark.xfail(reason="default dependencies aren't automatically resolved")
ValueError,
),
# statebound T2 with statebound dependency, also explicitly configured
(
Expand Down

0 comments on commit 6fc3e55

Please sign in to comment.