Skip to content

Commit

Permalink
Fix BROKER_CLASS monkeypatch in test_brokers (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
P-EB authored Oct 21, 2024
1 parent 81058fc commit 35c9110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_q/tests/test_brokers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_redis(monkeypatch):


def test_custom(monkeypatch):
monkeypatch.setattr(Conf, "BROKER_CLASS", "brokers.redis_broker.Redis")
monkeypatch.setattr(Conf, "BROKER_CLASS", "django_q.brokers.redis_broker.Redis")
broker = get_broker()
assert broker.ping() is True
assert broker.info() is not None
Expand Down

0 comments on commit 35c9110

Please sign in to comment.