'Objects should be nested to display the relationships that
cause them to be scheduled for deletion.'

def test_nesting(self):

    pattern = re.compile('<li>Plot:    <a    href=".+/admin_views/plot/1/">World    Domination</a>\\s*<ul>\\s*<li>Plot    details:    <a    href=".+/admin_views/plotdetails/1/">almost    finished</a>')
    response = self.client.get((u'/test_admin/admin/admin_views/villain/%s/delete/' % quote(1)))
    six.assertRegex(self, response.content, pattern)
