Skip to content

Commit

Permalink
MNT: adjust test ioc to not have identical values in multiple PVs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLLentz committed Nov 18, 2024
1 parent 84a9f8e commit 32de05f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions beams/tests/mock_iocs/various_types_ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class VariousTypesIOC(PVGroup):
)

ENUM = pvproperty(
value=2,
value=0,
dtype=ChannelType.ENUM,
enum_strings=["e", "i", "pi"]
enum_strings=["apple", "pumpkin", "shepherd's"]
)


Expand Down
4 changes: 2 additions & 2 deletions beams/tests/test_bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def test_collect_pvinfo(
elif info.pvname == "VAR:TYPES:ENUM":
assert info.python_name == "var_types_enum"
assert info.dtype == "ENUM"
assert info.value == 2
assert info.enum_strings == ["e", "i", "pi"]
assert info.value == 0
assert info.enum_strings == ["apple", "pumpkin", "shepherd's"]
else:
raise RuntimeError(f"Unexpected pvname {info.pvname}")

Expand Down

0 comments on commit 32de05f

Please sign in to comment.