'User list with the same name should only appear IF form has admin_access==True'

def test_form_duplicate_name_list(self):

    user_form = FacilityUserForm(facility=self.facility, data=self.data)
    self.assertTrue(user_form.is_valid(), ('Form    must    be    valid;    instead:    errors    (%s)' % user_form.errors))
    user_form.instance.set_password(user_form.cleaned_data['password_first'])
    user_form.save()
    self.data['username'] += '-different'
    user_form = FacilityUserForm(facility=self.facility, data=self.data)
    self.assertFalse(user_form.is_valid(), 'Form    must    NOT    be    valid.')
    user_form = FacilityUserForm(facility=self.facility, data=self.data)
    self.assertFalse(user_form.is_valid(), 'Form    must    NOT    be    valid.')
