diff --git a/test/unit/data/test_galaxy_mapping.py b/test/unit/data/test_galaxy_mapping.py index 6bf94bf21721..d0b09e1ddb69 100644 --- a/test/unit/data/test_galaxy_mapping.py +++ b/test/unit/data/test_galaxy_mapping.py @@ -462,7 +462,7 @@ def check_private_role(private_role, user): assert private_role.type == model.Role.types.PRIVATE assert len(private_role.users) == 1 assert private_role.users[0].user is user - assert private_role.name == model.Role.default_name(model.Role.types.PRIVATE) + assert private_role.name == f"private role for {user.email}" email = "rule_user_1@example.com" u = model.User(email=email, password="password")