From 35848cc80da9f346f6ec2d6f192555d8edc2adcb Mon Sep 17 00:00:00 2001 From: Jason McVetta Date: Thu, 13 Feb 2020 18:17:00 +0700 Subject: [PATCH] fix typo --- django_q/tests/test_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/tests/test_monitor.py b/django_q/tests/test_monitor.py index a7b19a6..5964a31 100644 --- a/django_q/tests/test_monitor.py +++ b/django_q/tests/test_monitor.py @@ -12,7 +12,7 @@ from django_q.conf import Conf @pytest.mark.django_db def test_monitor(monkeypatch): cluster_id = uuid.uuid4() - assert Stat.get(pid=0, cluster_id=4).sentinel == 0 + assert Stat.get(pid=0, cluster_id=cluster_id).sentinel == 0 c = Cluster() c.start() stats = monitor(run_once=True)