mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix tests, again
This commit is contained in:
parent
5cfaa7d72c
commit
45f91fec24
1 changed files with 1 additions and 1 deletions
|
@ -899,7 +899,7 @@ def test_permission_protection_management_by_helper():
|
||||||
assert res['permissions_app.admin']['protected'] is True
|
assert res['permissions_app.admin']['protected'] is True
|
||||||
assert res['permissions_app.dev']['protected'] is False
|
assert res['permissions_app.dev']['protected'] is False
|
||||||
|
|
||||||
app_upgrade(["permissions_app"], file="./tests/apps/permissions_app_ynh")
|
app_upgrade(["permissions_app"], file=os.path.join(get_test_apps_dir(), "permissions_app_ynh"))
|
||||||
|
|
||||||
res = user_permission_list(full=True)['permissions']
|
res = user_permission_list(full=True)['permissions']
|
||||||
assert res['permissions_app.main']['protected'] is False
|
assert res['permissions_app.main']['protected'] is False
|
||||||
|
|
Loading…
Add table
Reference in a new issue