Skip to content

Commit

Permalink
Tests for: #22034 bugfix, clenup
Browse files Browse the repository at this point in the history
  • Loading branch information
josven committed Feb 22, 2014
1 parent cf817fc commit b697147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/admin_checks/tests.py
Expand Up @@ -171,8 +171,8 @@ class SongInline(GenericStackedInline):
class EggFKContentTypeAdmin(admin.ModelAdmin):
inlines = [SongInline]

has_errors = bool(EggFKContentTypeAdmin.check(model=EggFKContentType))
self.assertFalse(has_errors)
errors = EggFKContentTypeAdmin.check(model=EggFKContentType)
self.assertEqual(errors, [])

def test_exclude_inline_model_admin(self):
"""
Expand Down

0 comments on commit b697147

Please sign in to comment.