From 4558b171626009bfc4e94c61de656ae29651690c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 25 Nov 2022 14:46:52 +0100 Subject: [PATCH] fix: fix molecule connection test --- molecule/centos7/tests/test_default.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/molecule/centos7/tests/test_default.py b/molecule/centos7/tests/test_default.py index 911f53b..8769c85 100644 --- a/molecule/centos7/tests/test_default.py +++ b/molecule/centos7/tests/test_default.py @@ -19,8 +19,8 @@ def test_freshrss_socket(host): def test_freshrss_conn_error(host): - code = int(host.run("curl -s -w '%{http_code}' http://127.0.0.1:8080/ -o /dev/null").stdout) - body = host.run("curl -sX GET http://127.0.0.1:8080/").stdout + code = int(host.run("curl -sL -w '%{http_code}' http://127.0.0.1:8080/ -o /dev/null").stdout) + body = host.run("curl -sLX GET http://127.0.0.1:8080/").stdout assert code == 200 - assert "FreshRSS" in body + assert "Login ยท FreshRSS" in body