diff options
| author | Dražen Odobašić <dodobas@candela-it.com> | 2015-09-11 19:33:12 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-12 11:40:50 -0400 |
| commit | b1e33ceceda1e75ff68c7deed8f6659683a195d3 (patch) | |
| tree | e4e446f69194f2dc3c9c7ee3ecf48290ea8d4d31 /tests/modeladmin/tests.py | |
| parent | 84b0a8d2aad042fb573df5055b6153770d0929ac (diff) | |
Fixed #23395 -- Limited line lengths to 119 characters.
Diffstat (limited to 'tests/modeladmin/tests.py')
| -rw-r--r-- | tests/modeladmin/tests.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py index beeb493560..eb99764398 100644 --- a/tests/modeladmin/tests.py +++ b/tests/modeladmin/tests.py @@ -1029,9 +1029,11 @@ class ListDisplayLinksCheckTests(CheckTestCase): list_display_links = ('non_existent_field',) self.assertIsInvalid( - ValidationTestModelAdmin, ValidationTestModel, - "The value of 'list_display_links[0]' refers to 'non_existent_field', which is not defined in 'list_display'.", - 'admin.E111') + ValidationTestModelAdmin, ValidationTestModel, ( + "The value of 'list_display_links[0]' refers to " + "'non_existent_field', which is not defined in 'list_display'." + ), 'admin.E111' + ) def test_missing_in_list_display(self): class ValidationTestModelAdmin(ModelAdmin): @@ -1244,9 +1246,10 @@ class OrderingCheckTests(CheckTestCase): self.assertIsInvalid( ValidationTestModelAdmin, - ValidationTestModel, - "The value of 'ordering[0]' refers to 'non_existent_field', which is not an attribute of 'modeladmin.ValidationTestModel'.", - 'admin.E033', + ValidationTestModel, ( + "The value of 'ordering[0]' refers to 'non_existent_field', " + "which is not an attribute of 'modeladmin.ValidationTestModel'." + ), 'admin.E033' ) def test_random_marker_not_alone(self): |
