Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 12, 2024
1 parent fdc8b34 commit 2daeb46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_command_transducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

from typing import TYPE_CHECKING

import numpy


if TYPE_CHECKING:
from lvmieb.actor import IEBActor
Expand All @@ -36,4 +38,7 @@ async def test_command_transducer_fails(actor: IEBActor, mocker):

command = await actor.invoke_mock_command("transducer status sp1")
await command
assert command.status.did_fail
assert command.status.did_succeed

transducer_data = command.replies.get("transducer")
assert numpy.isnan(transducer_data["b1_pressure"])

0 comments on commit 2daeb46

Please sign in to comment.