This commit is contained in:
Keith Burzinski 2024-04-10 06:00:49 +00:00
parent fbeca664e3
commit 1be4ecfe7a
No known key found for this signature in database
GPG Key ID: 802564C5F0EEFFBE

View File

@ -294,18 +294,6 @@ def test_cover_state_legacy_state(state, version, out):
assert state.is_closed(APIVersion(*version)) is out
@pytest.mark.parametrize(
"state, version, out",
[
(ValveState(position=1.0), (1, 1), False),
(ValveState(position=0.5), (1, 1), False),
(ValveState(position=0.0), (1, 1), True),
],
)
def test_valve_state(state, version, out):
assert state.is_closed() is out
@pytest.mark.parametrize(
"state, version, out",
[