Fix a missing bracket

pull/1315/merge
Karl Hobley 2015-05-26 11:21:37 +01:00
rodzic ded91decb6
commit 99daa36e1d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -599,7 +599,7 @@ class TestServeView(TestCase):
self.assertEqual(response.status_code, 200)
self.assertEqual(response['X-Sendfile'], os.path.join(settings.MEDIA_ROOT, self.document.file.name))
@unittest.skipIf(django.VERSION >= (1, 8) # Under Django 1.8. It adds "http://" to beginning of Location when it shouldn't
@unittest.skipIf(django.VERSION >= (1, 8)) # Under Django 1.8. It adds "http://" to beginning of Location when it shouldn't
@override_settings(SENDFILE_BACKEND='sendfile.backends.mod_wsgi', SENDFILE_ROOT=settings.MEDIA_ROOT, SENDFILE_URL=settings.MEDIA_URL[:-1])
def test_sendfile_mod_wsgi_backend(self):
self.clear_sendfile_cache()