'Ensure that fields have a CSS class name with a \'field-\' prefix.
Refs #16371.'

def test_field_prefix_css_classes(self):

    response = self.client.get(u'/test_admin/admin/admin_views/post/add/')
    self.assertContains(response, u'class="form-row    field-title"')
    self.assertContains(response, u'class="form-row    field-content"')
    self.assertContains(response, u'class="form-row    field-public"')
    self.assertContains(response, u'class="form-row    field-awesomeness_level"')
    self.assertContains(response, u'class="form-row    field-coolness"')
    self.assertContains(response, u'class="form-row    field-value"')
    self.assertContains(response, u'class="form-row"')
    self.assertContains(response, u'<td    class="field-url">')
    self.assertContains(response, u'<td    class="field-posted">')
