diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py index a8aac7f51b..21a388c983 100644 --- a/tests/modeladmin/tests.py +++ b/tests/modeladmin/tests.py @@ -39,6 +39,10 @@ class ModelAdminTests(TestCase): ) self.site = AdminSite() + def test_modeladmin_str(self): + ma = ModelAdmin(Band, self.site) + self.assertEqual(str(ma), 'modeladmin.ModelAdmin') + # form/fields/fieldsets interaction ############################## def test_default_fields(self):