def test_respond_fail(self):
        """Test that an incorrect response is unsuccessful"""

        post_resp = self._do_create_inquiry(INQUIRY_2, RESULT_DEFAULT)
        inquiry_id = self._get_inquiry_id(post_resp)
        response = {"continue": 123}
        put_resp = self._do_respond(inquiry_id, response, expect_errors=True)
        self.assertEqual(put_resp.status_int, http_client.BAD_REQUEST)
        self.assertIn("did not pass schema validation", put_resp.json["faultstring"])
Test that an incorrect response is unsuccessful
st2api/tests/unit/controllers/v1/test_inquiries.py