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'])
If the config section doesn't exist, only raise an error if we're in dev, no matter what the config says
dataset/ETHPy150Open ansible/tower-cli/tests/test_resources_job.py/CancelTests.test_standard_cancelation--crossover with--dataset/ETHPy150Open trustrachel/Flask-FeatureFlags/tests/test_core_function.py/TestFeatureFlagCoreFunctionality.test_do_not_raise_exception_if_we_are_not_in_dev_but_config_is_missing_and_config_flag_is_set