mirror of https://github.com/django/django.git
Removed some stray newlines which caused flake8 issues
This commit is contained in:
parent
fb862c875e
commit
8482ab6633
|
@ -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=[]):
|
||||
|
|
Loading…
Reference in New Issue