def _user(username='test_user'):
    raw_password = 'fake'
    new_user = User.objects.create_user(username=username, email='example@example.com', password=raw_password)
    setattr(new_user, 'raw_password', raw_password)
    return new_user
def _user(username='test_user'):
    raw_password = 'fake'
    new_user = User.objects.create_user(username=username, email='example@example.com', password=raw_password)
    setattr(new_user, 'raw_password', raw_password)
    return new_user