def test_get_one_nondefault_params(self):
        """Ensure an Inquiry with custom parameters contains those in result"""
        post_resp = self._do_create_inquiry(INQUIRY_2, RESULT_2)
        inquiry_id = self._get_inquiry_id(post_resp)
        get_resp = self._do_get_one(inquiry_id)
        self.assertEqual(get_resp.status_int, 200)
        self.assertEqual(self._get_inquiry_id(get_resp), inquiry_id)

        for param in ["route", "ttl", "users", "roles", "schema"]:
            self.assertEqual(get_resp.json.get(param), RESULT_2.get(param))
Ensure an Inquiry with custom parameters contains those in result
st2api/tests/unit/controllers/v1/test_inquiries.py