mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-25 01:08:12 +08:00
Experimenting with disque build on travis
This commit is contained in:
@@ -119,5 +119,4 @@ Q_CLUSTER = {'name': 'django_q_test',
|
||||
'cpu_affinity': 1,
|
||||
'testing': True,
|
||||
'log_level': 'DEBUG',
|
||||
'django_redis': 'default',
|
||||
'disque_auth': 'foobared'}
|
||||
'django_redis': 'default'}
|
||||
|
||||
@@ -31,7 +31,7 @@ def test_redis():
|
||||
Conf.DJANGO_REDIS = 'default'
|
||||
|
||||
|
||||
@pytest.mark.skipif(Conf.DISQUE_AUTH is None,
|
||||
@pytest.mark.skipif(os.getenv('DISQUE', False),
|
||||
reason="No disque server configured")
|
||||
def test_disque():
|
||||
Conf.DISQUE = ['127.0.0.1:7711']
|
||||
|
||||
Reference in New Issue
Block a user