Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tests for: #22034 bugfix, clenup

  • Loading branch information...
commit b697147d0b9e4b762aae7b2c057231894d6098c2 1 parent cf817fc
@josven authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/admin_checks/tests.py
View
4 tests/admin_checks/tests.py
@@ -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):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.