mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed "indentation is not a multiple of four" pep8 issues.
This commit is contained in:
@@ -244,14 +244,14 @@ class ValidationTestCase(TestCase):
|
||||
|
||||
def test_nested_fields(self):
|
||||
class NestedFieldsAdmin(admin.ModelAdmin):
|
||||
fields = ('price', ('name', 'subtitle'))
|
||||
fields = ('price', ('name', 'subtitle'))
|
||||
NestedFieldsAdmin.validate(Book)
|
||||
|
||||
def test_nested_fieldsets(self):
|
||||
class NestedFieldsetAdmin(admin.ModelAdmin):
|
||||
fieldsets = (
|
||||
('Main', {'fields': ('price', ('name', 'subtitle'))}),
|
||||
)
|
||||
fieldsets = (
|
||||
('Main', {'fields': ('price', ('name', 'subtitle'))}),
|
||||
)
|
||||
NestedFieldsetAdmin.validate(Book)
|
||||
|
||||
def test_explicit_through_override(self):
|
||||
|
||||
Reference in New Issue
Block a user