New container build on Travis

This commit is contained in:
Ilan Steemers
2015-08-30 20:57:05 +02:00
parent 3a27af0877
commit 452f53f899
2 changed files with 11 additions and 3 deletions
+4 -1
View File
@@ -26,6 +26,8 @@ def test_redis():
broker = get_broker()
with pytest.raises(Exception):
broker.ping()
Conf.REDIS = None
Conf.DJANGO_REDIS = 'default'
def test_disque():
@@ -57,5 +59,6 @@ def test_disque():
Conf.DISQUE = ['127.0.0.1:7712', '127.0.0.1:7713']
with pytest.raises(ConnectionError):
broker.get_connection()
# back to djangoredis
# back to django-redis
Conf.DISQUE = None
Conf.DJANGO_REDIS = 'default'