def create_user(self, email): return User.register_or_login(email)
def create_user(self, email): return User.register_or_login(email)
def test_login(): email = request.form.get("email") user = User.register_or_login(email) login_user(user) return "ok"
def test_login(): email = request.form.get("email") user = User.register_or_login(email) login_user(user) return "ok"