mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-03 03:38:11 +08:00
adds pluggable brokers
* added redis broker * added django_redis broker * added task acknowledgement
This commit is contained in:
@@ -3,11 +3,6 @@ import pytest
|
||||
from django_q import conf
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def r():
|
||||
return conf.redis_client
|
||||
|
||||
|
||||
def test_django_redis():
|
||||
conf.Conf.DJANGO_REDIS = None
|
||||
assert conf.redis_client.ping() is True
|
||||
|
||||
Reference in New Issue
Block a user