mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 17:08:12 +08:00
Lots of stuff
- changed to single monitor for success and failures - result is now in django model - started addings tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import pytest
|
||||
from django_q.apps import Worker
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def qworker():
|
||||
return Worker()
|
||||
|
||||
|
||||
def test_worker(qworker):
|
||||
assert len(qworker.stable) == qworker.stable_size
|
||||
Reference in New Issue
Block a user