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,