class CommentAdminModelTest(TestCase): _multiprocess_can_split_ = True def setUp(self): self.commentadmin = CommentAdmin(Comment, AdminSite()) def test_base_fields(self): self.assertEqual( self.commentadmin.get_form(None).base_fields.keys(), ['body'])
def setUp(self): self.commentadmin = CommentAdmin(Comment, AdminSite())