def load_user(id): return User.get_by_id(int(id))
def test_get_by_id(self): user = User('foo', '*****@*****.**') user.save() retrieved = User.get_by_id(user.id) assert retrieved == user