summaryrefslogtreecommitdiffstats
path: root/omaha_server/crash/tests/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'omaha_server/crash/tests/test_views.py')
-rw-r--r--omaha_server/crash/tests/test_views.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/omaha_server/crash/tests/test_views.py b/omaha_server/crash/tests/test_views.py
index 7a8884a..168c945 100644
--- a/omaha_server/crash/tests/test_views.py
+++ b/omaha_server/crash/tests/test_views.py
@@ -67,6 +67,10 @@ class CrashViewTest(test.TestCase):
self.assertIsNotNone(obj.upload_file_minidump)
self.assertEquals(obj.ip, '8.8.8.8')
+ @test.override_settings(
+ CELERY_ALWAYS_EAGER=False,
+ CELERY_EAGER_PROPAGATES_EXCEPTIONS=False,
+ )
def test_view_empty_ip(self):
if settings.DATABASES['default']['ENGINE'] == 'django.db.backends.postgresql_psycopg2':
meta = dict(