mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix tests
This commit is contained in:
parent
9da00bd8b6
commit
616b0d020b
1 changed files with 2 additions and 2 deletions
|
@ -34,9 +34,9 @@ def install_changeurl_app(path):
|
||||||
def check_changeurl_app(path):
|
def check_changeurl_app(path):
|
||||||
appmap = app_map(raw=True)
|
appmap = app_map(raw=True)
|
||||||
|
|
||||||
assert path + "/" in appmap[maindomain].keys()
|
assert path in appmap[maindomain].keys()
|
||||||
|
|
||||||
assert appmap[maindomain][path + "/"]["id"] == "change_url_app"
|
assert appmap[maindomain][path]["id"] == "change_url_app"
|
||||||
|
|
||||||
r = requests.get("https://127.0.0.1%s/" % path, headers={"domain": maindomain}, verify=False)
|
r = requests.get("https://127.0.0.1%s/" % path, headers={"domain": maindomain}, verify=False)
|
||||||
assert r.status_code == 200
|
assert r.status_code == 200
|
||||||
|
|
Loading…
Add table
Reference in a new issue