Skip to content

Commit

Permalink
Update dapr/actor/runtime/mock_actor.py
Browse files Browse the repository at this point in the history
Whoops missed this

Co-authored-by: Elena Kolevska <[email protected]>
Signed-off-by: Lorenzo Curcio <[email protected]>
  • Loading branch information
lor1113 and elena-kolevska authored Dec 3, 2024
1 parent 6cebadd commit bebdcb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dapr/actor/runtime/mock_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def set_state(self, data: dict) -> None:
await self._state_manager.set_state('state', data)
await self._state_manager.save_state()
mock_actor = create_mock_actor(SomeActor)
mock_actor = create_mock_actor(SomeActor, "actor_1")
assert mock_actor._state_manager._mock_state == {}
await mock_actor.set_state({"test":10})
assert mock_actor._state_manager._mock_state == {"test":10}
Expand Down

0 comments on commit bebdcb1

Please sign in to comment.