From 707d3b59805899ec6792aa7263790d3ec787ebc3 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 26 Dec 2024 14:20:10 +0100 Subject: [PATCH] fix docker test --- docker/test/tests/test_hub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/test/tests/test_hub.py b/docker/test/tests/test_hub.py index 2365e3a9cef..e70555ea855 100644 --- a/docker/test/tests/test_hub.py +++ b/docker/test/tests/test_hub.py @@ -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', stderr=False) assert res.exit_code == 0 j = json.loads(res.output) collections = {c['name']: c for c in j['collections']}