From f94a5c7ff9779d31d0338e5d0c02761d5a7cde66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 13 Sep 2022 18:16:10 +0200 Subject: [PATCH] tests/dbusmock/colord: Fix system profile D-Bus path names They had the username and userid in them, which they shouldn't. Part-of: --- src/tests/dbusmock-templates/colord.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tests/dbusmock-templates/colord.py b/src/tests/dbusmock-templates/colord.py index d81f33780..3e9286a86 100644 --- a/src/tests/dbusmock-templates/colord.py +++ b/src/tests/dbusmock-templates/colord.py @@ -147,8 +147,7 @@ def AddSystemProfile(self, profile_id, file_path): uid = os.getuid() username = get_username(uid) profile_path = PATH_PREFIX + '/profiles/' + \ - escape_unit_name(profile_id) + \ - '_' + username + '_' + str(uid) + escape_unit_name(profile_id) self.profiles[profile_id] = profile_path self.AddObject(profile_path, PROFILE_IFACE,