'This used to give an error with duplicate usernames
with different capitalization'

def test_double_username(self):

    facebook = get_facebook_graph(request=self.request, access_token='short_username')
    (action, user) = connect_user(self.request, facebook_graph=facebook)
    user.username = 'Thierry_schellenbach'
    user.save()
    self.request.user = AnonymousUser()
    facebook = get_facebook_graph(request=self.request, access_token='same_username')
    (action, new_user) = connect_user(self.request, facebook_graph=facebook)
    self.assertNotEqual(user.username, new_user.username)
    self.assertNotEqual(user.id, new_user.id)
