def METHOD_NAME(self, mocked_init):
    rm_pbspro = PBSPro(cfg=None, log=None, prof=None)
    rm_pbspro._log = mock.Mock()
    with mock.patch('radical.pilot.agent.resource_manager.pbspro.'
                    'ru.sh_callout') as mocked_callout:
        mocked_callout.return_value = [
            'exec_vnode = (vnode1:cpu=10)+(vnode2:cpu=10)+\n'
            '(vnode3:cpu=10)\n'
            'other_attr = some_value', '', 0]
        nodes, cores_per_node = rm_pbspro._parse_pbspro_vnodes()
        self.assertEqual(nodes, ['vnode1', 'vnode2', 'vnode3'])
        self.assertEqual(cores_per_node, 10)