1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Removed some stray newlines which caused flake8 issues

This commit is contained in:
Alex Gaynor 2014-01-20 22:58:05 -06:00
parent fb862c875e
commit 8482ab6633

View File

@ -408,7 +408,6 @@ class SecureProxySslHeaderTest(TestCase):
self.assertEqual(req.is_secure(), True)
class IsOverriddenTest(TestCase):
def test_configure(self):
s = LazySettings()
@ -416,7 +415,6 @@ class IsOverriddenTest(TestCase):
self.assertTrue(s.is_overridden('SECRET_KEY'))
def test_module(self):
settings_module = ModuleType('fake_settings_module')
settings_module.SECRET_KEY = 'foo'
@ -429,7 +427,6 @@ class IsOverriddenTest(TestCase):
finally:
del sys.modules['fake_settings_module']
def test_override(self):
self.assertFalse(settings.is_overridden('TEMPLATE_LOADERS'))
with override_settings(TEMPLATE_LOADERS=[]):