Skip to content

Commit

Permalink
tests: fix tests w/o injected broker
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Aug 6, 2024
1 parent ebdacd3 commit 3e1f892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_actors.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def lo():
assert calls == ["hi"] * 10 + ["lo"] * 10


def test_can_call_str_on_actors():
def test_can_call_str_on_actors(stub_broker):
# Given that I have an actor
@dramatiq.actor
def test():
Expand All @@ -426,7 +426,7 @@ def test():
assert str(test) == "Actor(test)"


def test_can_call_repr_on_actors():
def test_can_call_repr_on_actors(stub_broker):
# Given that I have an actor
@dramatiq.actor
def test():
Expand Down

0 comments on commit 3e1f892

Please sign in to comment.