def test_get_one_not_an_inquiry(self):
        """Test that an attempt to retrieve a valid execution that isn't an Inquiry fails"""
        test_exec = json.loads(self.app.post_json("/v1/executions", LIVE_ACTION_1).body)
        get_resp = self._do_get_one(test_exec.get("id"), expect_errors=True)
        self.assertEqual(get_resp.status_int, http_client.BAD_REQUEST)
        self.assertIn("is not an inquiry", get_resp.json["faultstring"])
Test that an attempt to retrieve a valid execution that isn't an Inquiry fails
st2api/tests/unit/controllers/v1/test_inquiries.py