def test_respond_not_an_inquiry(self):
        """Test that attempts to respond to an execution ID that isn't an Inquiry fails"""
        test_exec = json.loads(self.app.post_json("/v1/executions", LIVE_ACTION_1).body)
        response = {"continue": 123}
        put_resp = self._do_respond(test_exec.get("id"), response, expect_errors=True)
        self.assertEqual(put_resp.status_int, http_client.BAD_REQUEST)
        self.assertIn("is not an inquiry", put_resp.json["faultstring"])
Test that attempts to respond to an execution ID that isn't an Inquiry fails
st2api/tests/unit/controllers/v1/test_inquiries.py