

def test_get_id(self):
    with self.app.app_context():
        user = User.create(email='r@rdegges.com', password='woot1LoveCookies!', given_name='Randall', surname='Degges')
        self.assertEqual(user.get_id(), user.href)

dataset/ETHPy150Open stormpath/stormpath-flask/tests/test_models.py TestUser.test_get_id/original