'Test that the form field names are localized'

def test_bug_698126_l10n(self):

    testuser = self.user_model.objects.get(username='testuser')
    self.client.login(username=testuser.username, password=TESTUSER_PASSWORD)
    url = reverse('users.user_edit', args=(testuser.username,))
    response = self.client.get(url, follow=True)
    for field in response.context['user_form'].fields:
        ok_((not isinstance(response.context['user_form'].fields[field].label, basestring)), ('Field    %s    is    a    string!' % field))
