+= in qmgr with expect=True is not working

Description

In PTL script
Following instruction is giving error

1 2 3 4 5 self.server.manager(MGR_CMD_SET, SCHED, {'partition': (INCR, 'test2')}, id="TestCommonSched", expect=True)

Here is the error

1 2 3 4 5 6 7 File "$HOME/pbspro/test/tests/interfaces/pbs_sched_interface_test.py", line 183, in test_set_and_unset_sched_partition expect=True) File "/usr/lib/python2.7/site-packages/PbsTestLab-17.1.0-py2.7.egg/ptl/lib/pbs_testlib.py", line 6446, in manager max_attempts=max_attempts, offset=offset) File "/usr/lib/python2.7/site-packages/PbsTestLab-17.1.0-py2.7.egg/ptl/lib/pbs_testlib.py", line 7831, in expect msg += [k, PTL_OP_TO_STR[operator].strip()] KeyError: 2

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

Vinod

Severity

3-High

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

High
Configure