Skip to content

Commit

Permalink
fix test after renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Apr 18, 2024
1 parent 57fde19 commit 8f87dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/epics/areadetector/test_aravis.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_gpio_pin_limited(adaravis: AravisDetector):
with pytest.raises(
ValueError,
match=re.escape(
"ADAravisDetector only supports the following GPIO indices: "
"AravisDetector only supports the following GPIO indices: "
"(1, 2, 3, 4) but was asked to use 55"
),
):
Expand All @@ -139,6 +139,6 @@ async def test_unsupported_trigger_excepts(adaravis: AravisDetector):
with pytest.raises(
ValueError,
# str(EnumClass.value) handling changed in Python 3.11
match=r"ADAravisController only supports the following trigger types: .* but",
match=r"AravisController only supports the following trigger types: .* but",
):
await adaravis.prepare(TriggerInfo(1, DetectorTrigger.variable_gate, 1, 1))

0 comments on commit 8f87dfa

Please sign in to comment.