def test_standard_cancelation(self):
        with client.test_mode as t:
            t.register('/jobs/42/cancel/', '', method='POST')
            result = self.res.cancel(42)
            self.assertTrue(t.requests[0].url.endswith('/jobs/42/cancel/'))
            self.assertTrue(result['changed'])
Establish that a standard cancelation command works in the way
dataset/ETHPy150Open ansible/tower-cli/tests/test_resources_job.py/CancelTests.test_standard_cancelation