fix: fix molecule connection test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-11-25 14:46:52 +01:00
parent 276fd3bf54
commit 4558b17162
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -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