Resets SQS conf in case of test failure

This commit is contained in:
Ilan Steemers
2015-09-09 18:59:24 +02:00
parent d7ce945f03
commit e4a5951f12
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@ from django_q.tasks import Schedule, fetch, schedule as create_schedule, queue_s
@pytest.fixture
def broker():
Conf.DISQUE_NODES = None
Conf.IRON_MQ = None
Conf.SQS = None
Conf.DJANGO_REDIS = 'default'
return get_broker()