Skip to content

Commit

Permalink
oups
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-bartscher committed Nov 5, 2024
1 parent 8a946bd commit 673abd6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/units/test_state_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
StateManager,
StateManagerRedis,
_substate_key,
prefix_redis_token,
)


Expand Down Expand Up @@ -375,9 +374,7 @@ async def test_get_state_tree(
exp_root_substates: The expected substates of the root state.
exp_root_dict_keys: The expected keys of the root state dict.
"""
state = await state_manager_redis.get_state(
prefix_redis_token(_substate_key(token, substate_cls))
)
state = await state_manager_redis.get_state(_substate_key(token, substate_cls))
assert isinstance(state, Root)
assert sorted(state.substates) == sorted(exp_root_substates)

Expand Down

0 comments on commit 673abd6

Please sign in to comment.