

def test_repr(self):
    with self.app.app_context():
        user = User.create(email='r@rdegges.com', password='woot1LoveCookies!', given_name='Randall', surname='Degges')
        self.assertTrue((user.email in self.__repr__()))
        user.delete()
        user = User.create(username='omgrandall', email='r@rdegges.com', password='woot1LoveCookies!', given_name='Randall', surname='Degges')
        self.assertTrue((user.username in user.__repr__()))
        self.assertTrue((user.href in user.__repr__()))

dataset/ETHPy150Open stormpath/stormpath-flask/tests/test_models.py TestUser.test_repr/VarMisuse@53/82 `user`->`self`