          template = Template('{% load admin_list %}{% spaceless %}{% result_list cl %}{% endspaceless %}')
          context = Context({'cl': cl})
          table_output = template.render(context)
          link = reverse('admin:admin_changelist_child_change', args=(new_child.id,))
          row_html = '<tbody><tr class="row1"><th><a href="%s">name</a></th><td class="nowrap">Parent object</td></tr></tbody>' % link
          self.assertFalse(table_output.find(row_html) == -1,
              'Failed to find expected row element: %s' % table_output)
  
      def test_result_list_editable_html(self):
          """
 
</s> remove         row_html = '<tbody><tr class="row1"><th><a href="%s">name</a></th><td class="nowrap">(None)</td></tr></tbody>' % link
 </s> add         row_html = '<tbody><tr class="row1"><th class="field-name"><a href="%s">name</a></th><td class="field-parent nowrap">(None)</td></tr></tbody>' % link </s> remove         should_contain = """<th><a href="%s%s/">%s</a></th>""" % (prefix, pk_final_url, escape(self.pk))
 </s> add         should_contain = """<th class="field-__str__"><a href="%s%s/">%s</a></th>""" % (prefix, pk_final_url, escape(self.pk)) </s> remove         self.assertInHTML('<td>%s</td>' % editable_name_field, table_output, msg_prefix='Failed to find "name" list_editable field')
 </s> add         self.assertInHTML('<td class="field-name">%s</td>' % editable_name_field, table_output, msg_prefix='Failed to find "name" list_editable field') </s> remove                     row_class = mark_safe(' class="nowrap"')
 </s> add                     row_classes.append('nowrap')
        row_html = '<tbody><tr class="row1"><th class="field-name"><a href="%s">name</a></th><td class="field-parent nowrap">Parent object</td></tr></tbody>' % link
          template = Template('{% load admin_list %}{% spaceless %}{% result_list cl %}{% endspaceless %}')
          context = Context({'cl': cl})
          table_output = template.render(context)
          link = reverse('admin:admin_changelist_child_change', args=(new_child.id,))
        row_html = '<tbody><tr class="row1"><th class="field-name"><a href="%s">name</a></th><td class="field-parent nowrap">Parent object</td></tr></tbody>' % link
          self.assertFalse(table_output.find(row_html) == -1,
              'Failed to find expected row element: %s' % table_output)
  
      def test_result_list_editable_html(self):
          """
keep keep keep keep replace keep keep keep keep keep
 Fixed #11195 -- Added CSS classes to the changelist cells to allow style customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch. 
tests/admin_changelist/tests.py