'Ensure that CSS class names are used for each app and model on the
admin index pages.
Refs #17050.'

def test_index_css_classes(self):

    response = self.client.get(u'/test_admin/admin/')
    self.assertContains(response, u'<div    class="app-admin_views    module">')
    self.assertContains(response, u'<tr    class="model-actor">')
    self.assertContains(response, u'<tr    class="model-album">')
    response = self.client.get(u'/test_admin/admin/admin_views/')
    self.assertContains(response, u'<div    class="app-admin_views    module">')
    self.assertContains(response, u'<tr    class="model-actor">')
    self.assertContains(response, u'<tr    class="model-album">')
