def test_update(self):
        app_status = 'ACTIVE'
        pid = 'aaaaaaaa'
        process = self.cs.processes.update(self.gid,
                                          pid, app_status)
        body = self._update_body(app_status)
        self.cs.assert_called('PUT', '/groups/%s/processes/%s' % (self.gid, pid), body)
        self.assertIsInstance(process, self.process_type)
dataset/ETHPy150Open openstack/python-rackclient/rackclient/tests/v1/test_processes.py/ProcesssTest.test_update/original