Skip to content

Commit

Permalink
fix docke test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Dec 26, 2024
1 parent 5bfd87f commit bb7471b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/test/tests/test_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_preinstalled_hub(crowdsec, flavor):
with crowdsec(flavor=flavor) as cs:
cs.wait_for_log("*Starting processing data*")
cs.wait_for_http(8080, '/health', want_status=HTTPStatus.OK)
res = cs.cont.exec_run('cscli hub list -o json')
res = cs.cont.exec_run('cscli hub list -o json 2>/dev/null')
assert res.exit_code == 0
j = json.loads(res.output)
collections = {c['name']: c for c in j['collections']}
Expand Down

0 comments on commit bb7471b

Please sign in to comment.