add_to_resource_group function is adding unwanted characters

Description

There are few tests that are using add_to_resource_group function for example,

self.scheduler.add_to_resource_group(str(TEST_USER), 100, 'root', 10)

But PTL created a resource_group file as
pbsuser 100 root 10 unknown

as a result jobs did not run and test fails.

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

anamika upadhyay

Severity

3-High

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

High
Configure