mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed inconsistent formatting in tests/modeladmin/test_checks.py.
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user