mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
parent
df8d8d4292
commit
92053acbb9
148 changed files with 2073 additions and 2248 deletions
|
@ -244,8 +244,7 @@ class AppsTests(SimpleTestCase):
|
|||
body = {}
|
||||
body['Meta'] = type(str("Meta"), tuple(), meta_contents)
|
||||
body['__module__'] = TotallyNormal.__module__ + '.whatever'
|
||||
with six.assertRaisesRegex(self, RuntimeError,
|
||||
"Conflicting 'southponies' models in application 'apps':.*"):
|
||||
with self.assertRaisesMessage(RuntimeError, "Conflicting 'southponies' models in application 'apps':"):
|
||||
type(str("SouthPonies"), (models.Model,), body)
|
||||
|
||||
def test_get_containing_app_config_apps_not_ready(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue