def test_client_query_batch(capsys, client):
    job = client_query_batch.client_query_batch(client)
    (out, err) = capsys.readouterr()
    assert ('Job {} is currently in state {}'.format(job.job_id, job.state) in out)
def test_client_query_batch(capsys, client):
    job = client_query_batch.client_query_batch(client)
    (out, err) = capsys.readouterr()
    assert ('Job {} is currently in state {}'.format(job.job_id, job.state) in out)