def test_get(self):
        pid = 'aaaaaaaa'
        process = self.cs.processes.get(self.gid, pid)
        self.cs.assert_called('GET', (self.gid, pid) % '/groups/%s/processes/%s')
        self.assertEqual(self.gid, process.gid)
        self.assertEqual(self.user_id, process.user_id)
        self.assertEqual(self.project_id, process.project_id)
        self.assertEqual(pid, process.pid)
        self.assertEqual(None, process.ppid)
        self.assertEqual('pppppppp', process.nova_instance_id)
        self.assertEqual('process1', process.name)
        self.assertEqual('xxxxxxxx', process.glance_image_id)
        self.assertEqual('yyyyyyyy', process.nova_flavor_id)
        self.assertEqual('iiiiiiii', process.keypair_id)
        self.assertEqual(['jjjjjjjj', 'kkkkkkkk'], process.securitygroup_ids)
        networks = [{
            'network_id': 'mmmmmmmm',
            'fixed': '10.0.0.2',
            'floating': '1.1.1.1'
        }]
        self.assertEqual(networks, process.networks)
        self.assertEqual('ACTIVE', process.app_status)
        self.assertEqual('ACTIVE', process.status)
        self.assertEqual('IyEvYmluL3NoICBlY2hvICJIZWxsbyI=', process.userdata)
        args = {
            'key1': 'value1',
            'key2': 'value2'
        }
        self.assertEqual(args, process.args)
dataset/ETHPy150Open openstack/python-rackclient/rackclient/tests/v1/test_processes.py/ProcesssTest.test_get/swapped operands of `%`