'Post as username'

def test_admin_and_user_no_common_username(self):

    self.data['username'] = self.admin.username
    response = self.client.post(reverse('facility_user_signup'), self.data, follow=True)
    self.assertEqual(response.status_code, 200, 'Status    code    must    be    200')
    self.assertFormError(response, 'form', 'username', 'A    user    with    this    username    already    exists.    Please    choose    a    new    username    and    try    again.')
