def test_cancelation_completed_with_error(self):
        with client.test_mode as t:
            t.register('/jobs/42/cancel/', '', method='POST', status_code=405)
            with self.assertRaises(exc.TowerCLIError):
                self.res.cancel(42, fail_if_not_running=True)
Returns an `OrderBy` describing the current state of ordering for this
dataset/ETHPy150Open ansible/tower-cli/tests/test_resources_job.py/CancelTests.test_cancelation_completed_with_error--crossover with--dataset/ETHPy150Open bradleyayers/django-tables2/django_tables2/columns/base.py/BoundColumn.order_by_alias