Skip to content

Commit 7e8d886

Browse files
committed
test(io): use configuration_values instead of deprecated current_state
Signed-off-by: Fernando Macedo <fgmacedo@gmail.com>
1 parent 3c6cb7b commit 7e8d886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ def reject(*args, **kwargs):
7575
# the machine would land in s2. With it, the validator aborts.
7676
with pytest.raises(Rejected):
7777
sm.send("go")
78-
assert sm.current_state.id == "s1"
78+
assert "s1" in sm.configuration_values

0 commit comments

Comments
 (0)