mocking myqueue in most tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#from __future__ import print_function
|
||||
from statements import *
|
||||
|
||||
@override_settings(TESTING=True)
|
||||
class EmailUpload(TestCase):
|
||||
def setUp(self):
|
||||
redis_connection.publish('tasks','KILL')
|
||||
@@ -64,6 +65,7 @@ workout run
|
||||
|
||||
|
||||
#@pytest.mark.django_db
|
||||
@override_settings(TESTING=True)
|
||||
class EmailTests(TestCase):
|
||||
def setUp(self):
|
||||
redis_connection.publish('tasks','KILL')
|
||||
@@ -146,6 +148,7 @@ race 1
|
||||
|
||||
|
||||
|
||||
@override_settings(TESTING=True)
|
||||
class EmailAdminUpload(TestCase):
|
||||
def setUp(self):
|
||||
redis_connection.publish('tasks','KILL')
|
||||
|
||||
Reference in New Issue
Block a user