Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/test_uk_certified_pairs.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ def test_get_record_resolves_a_pair_a_variant_and_the_default():
assert not pairs.is_pair(pairs.get_record(default))
with pytest.raises(rv.VariantError, match="no certified pair"):
pairs.get_record(PAIR + "x")
# An id without the prefix is a variant's: the pipeline may qualify this
# pair under its slug, which then resolves to that variant.
with pytest.raises(rv.VariantError, match="no replay variant"):
pairs.get_record(PAIR.removeprefix(pairs.PREFIX))
pairs.get_record("pe0.0.0_uk0.0.0_no-such-data")


@pytest.mark.parametrize(
Expand Down
Loading