diff --git a/src/tests/test_app_config.py b/src/tests/test_app_config.py index d6cf8045d..db898233d 100644 --- a/src/tests/test_app_config.py +++ b/src/tests/test_app_config.py @@ -102,7 +102,7 @@ def config_app(request): def test_app_config_get(config_app): - user_create("alice", "Alice", "White", _get_maindomain(), "test123Ynh") + user_create("alice", _get_maindomain(), "test123Ynh", fullname="Alice White") assert isinstance(app_config_get(config_app), dict) assert isinstance(app_config_get(config_app, full=True), dict) diff --git a/src/tests/test_backuprestore.py b/src/tests/test_backuprestore.py index 17147f586..adc14b80e 100644 --- a/src/tests/test_backuprestore.py +++ b/src/tests/test_backuprestore.py @@ -77,7 +77,7 @@ def setup_function(function): if "with_permission_app_installed" in markers: assert not app_is_installed("permissions_app") - user_create("alice", "Alice", "White", maindomain, "test123Ynh") + user_create("alice", maindomain, "test123Ynh", fullname="Alice White") with patch.object(os, "isatty", return_value=False): install_app("permissions_app_ynh", "/urlpermissionapp" "&admin=alice") assert app_is_installed("permissions_app") diff --git a/src/tests/test_ldapauth.py b/src/tests/test_ldapauth.py index db5229342..f8ad83544 100644 --- a/src/tests/test_ldapauth.py +++ b/src/tests/test_ldapauth.py @@ -19,8 +19,8 @@ def setup_function(function): if os.system("systemctl is-active slapd >/dev/null") != 0: os.system("systemctl start slapd && sleep 3") - user_create("alice", "Alice", "White", maindomain, "Yunohost", admin=True) - user_create("bob", "Bob", "Snow", maindomain, "test123Ynh") + user_create("alice", maindomain, "Yunohost", admin=True, fullname="Alice White") + user_create("bob", maindomain, "test123Ynh", fullname="Bob Snow") def teardown_function(): diff --git a/src/tests/test_permission.py b/src/tests/test_permission.py index 379f1cf39..5ba073d96 100644 --- a/src/tests/test_permission.py +++ b/src/tests/test_permission.py @@ -158,8 +158,8 @@ def setup_function(function): socket.getaddrinfo = new_getaddrinfo - user_create("alice", "Alice", "White", maindomain, dummy_password) - user_create("bob", "Bob", "Snow", maindomain, dummy_password) + user_create("alice", maindomain, dummy_password, fullname="Alice White") + user_create("bob", maindomain, dummy_password, fullname="Bob Snow") _permission_create_with_dummy_app( permission="wiki.main", url="/",