uid = utils.get_file_owner_uid(config, ctrl_path)
if uid != CTRL_UID:
result = consts.TEST_FAILED
- cause = 'Expected cgroup.procs owner to be {} but it\'s {}'.format(CTRL_UID, uid)
+ cause = "Expected cgroup.procs owner to be {} but it's {}".format(CTRL_UID, uid)
gid = utils.get_file_owner_gid(config, ctrl_path)
if gid != CTRL_GID:
result = consts.TEST_FAILED
- tmp_cause = 'Expected cgroup.procs group to be {} but it\'s {}'.format(CTRL_GID, gid)
+ tmp_cause = "Expected cgroup.procs group to be {} but it's {}".format(CTRL_GID, gid)
cause = '\n'.join(filter(None, [cause, tmp_cause]))
return result, cause