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
1 changed files with 0 additions and 3 deletions

View File

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