mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
zgrmbl
This commit is contained in:
parent
570a22a31c
commit
7eb1413d09
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ def test_public_routes_not_blocked_by_ssowat():
|
||||||
# Or : on the CI, the yunohost-api is likely to be down (to save resources)
|
# Or : on the CI, the yunohost-api is likely to be down (to save resources)
|
||||||
assert r.status_code in [405, 502]
|
assert r.status_code in [405, 502]
|
||||||
|
|
||||||
|
os.system("mkdir -p /var/www/.well-known/acme-challenge-public")
|
||||||
Path("/var/www/.well-known/acme-challenge-public/toto").touch()
|
Path("/var/www/.well-known/acme-challenge-public/toto").touch()
|
||||||
r = request(f"http://{maindomain}/.well-known/acme-challenge/toto")
|
r = request(f"http://{maindomain}/.well-known/acme-challenge/toto")
|
||||||
assert r.status_code == 200
|
assert r.status_code == 200
|
||||||
|
|
Loading…
Add table
Reference in a new issue