1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed hanging indentation in various code.

This commit is contained in:
Mariusz Felisiak
2018-03-16 10:54:34 +01:00
committed by GitHub
parent aeb8c38178
commit 362813d628
40 changed files with 266 additions and 232 deletions

View File

@@ -629,13 +629,11 @@ class KeepPotFileExtractorTests(ExtractorTests):
self.assertFalse(os.path.exists(self.POT_FILE))
def test_keep_pot_explicitly_disabled(self):
management.call_command('makemessages', locale=[LOCALE], verbosity=0,
keep_pot=False)
management.call_command('makemessages', locale=[LOCALE], verbosity=0, keep_pot=False)
self.assertFalse(os.path.exists(self.POT_FILE))
def test_keep_pot_enabled(self):
management.call_command('makemessages', locale=[LOCALE], verbosity=0,
keep_pot=True)
management.call_command('makemessages', locale=[LOCALE], verbosity=0, keep_pot=True)
self.assertTrue(os.path.exists(self.POT_FILE))