def test_get_short_name_returns_email(): email = "*****@*****.**" user = UserFactory(email=email) assert email == user.get_short_name()