mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Don't attempt to delete the 'visitors' group during user/group tests
This commit is contained in:
parent
4bdcfb4373
commit
e4163136bb
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def clean_user_groups():
|
|||
user_delete(u)
|
||||
|
||||
for g in user_group_list()['groups']:
|
||||
if g != "all_users":
|
||||
if g not in ["all_users", "visitors"]:
|
||||
user_group_delete(g)
|
||||
|
||||
def setup_function(function):
|
||||
|
|
Loading…
Add table
Reference in a new issue