
#
# Copyright (C) Analytics Engines 2021
# <NAME> (<EMAIL>)
#

import requests

def test_login(base_url):
    r = requests.post(
        base_url + 'rpc/login',
        json={
            "email" : "<EMAIL>",
            "password" : "<PASSWORD>!"
        }
    )
    r.raise_for_status()
    assert 'signed_jwt' in r.json()


