diff options
author | Tim Graham <timograham@gmail.com> | 2018-04-16 13:35:40 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-04-16 13:35:40 -0400 |
commit | a480ef89adaf2302c52c5d95fe8a1b691624edc0 (patch) | |
tree | 73b63308a4ef5e03313c25a80292f46b1c567c83 /tests/modeladmin | |
parent | 09f1f0387b7f29b1a378a6d87e00ffbbadddd7d5 (diff) | |
download | django-a480ef89adaf2302c52c5d95fe8a1b691624edc0.tar.gz |
Fixed inconsistent formatting in tests/modeladmin/test_checks.py.
Diffstat (limited to 'tests/modeladmin')
-rw-r--r-- | tests/modeladmin/test_checks.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/modeladmin/test_checks.py b/tests/modeladmin/test_checks.py index fdbe253396..f76b78078a 100644 --- a/tests/modeladmin/test_checks.py +++ b/tests/modeladmin/test_checks.py @@ -617,7 +617,8 @@ class ListFilterTests(CheckTestCase): self.assertIsInvalid( TestModelAdmin, ValidationTestModel, "The value of 'list_filter[0]' must inherit from 'ListFilter'.", - 'admin.E113') + 'admin.E113' + ) def test_not_filter_again(self): class RandomClass: @@ -921,7 +922,8 @@ class InlinesCheckTests(CheckTestCase): self.assertIsInvalidRegexp( TestModelAdmin, ValidationTestModel, r"'.*\.ValidationTestInline' must have a 'model' attribute\.", - 'admin.E105') + 'admin.E105' + ) def test_invalid_model_type(self): class SomethingBad: |