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
337387ccbc
commit
5cfaa7d72c
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ def test_normalize_permission_path_with_unknown_domain():
|
|||
|
||||
|
||||
def test_normalize_permission_path_conflicting_path():
|
||||
app_install("./tests/apps/register_url_app_ynh",
|
||||
app_install(os.path.join(get_test_apps_dir(), "register_url_app_ynh"),
|
||||
args="domain=%s&path=%s" % (maindomain, "/url/registerapp"), force=True)
|
||||
|
||||
with pytest.raises(YunohostError):
|
||||
|
|
|
@ -891,7 +891,7 @@ def test_permission_app_change_url():
|
|||
|
||||
@pytest.mark.other_domains(number=1)
|
||||
def test_permission_protection_management_by_helper():
|
||||
app_install("./tests/apps/permissions_app_ynh",
|
||||
app_install(os.path.join(get_test_apps_dir(), "permissions_app_ynh"),
|
||||
args="domain=%s&domain_2=%s&path=%s&admin=%s" % (maindomain, other_domains[0], "/urlpermissionapp", "alice"), force=True)
|
||||
|
||||
res = user_permission_list(full=True)['permissions']
|
||||
|
|
Loading…
Add table
Reference in a new issue