def test_status(client):
    with responses.RequestsMock() as rsps:
        expected = {'result': {'status': 'ready', 'error': 'null', 'logs': [], 'timestamp': '2019-10-07T16:30:09.875534Z', 'pid': 76715}, 'id': '2db9a2fe-9a39-41ef-828c-25e04dd6b07d', 'jsonrpc': client.jsonrpc_version}
        rsps.add(responses.POST, client.url, json=expected, status=202)
        resp = client.status()
        assert (resp.json() == expected)
def test_status(client):
    with responses.RequestsMock() as rsps:
        expected = {'result': {'status': 'ready', 'error': 'null', 'logs': [], 'timestamp': '2019-10-07T16:30:09.875534Z', 'pid': 76715}, 'id': '2db9a2fe-9a39-41ef-828c-25e04dd6b07d', 'jsonrpc': client.jsonrpc_version}
        rsps.add(responses.POST, client.url, json=expected, status=202)
        resp = client.status()
        assert (resp.json() == expected)