def test_execution_inquiry_response_action(self):
        """Test that the response parameters for any `st2.inquiry.respond` executions are masked

        We aren't bothering to get the inquiry schema in the `st2.inquiry.respond` action,
        so we mask all response values. This test ensures this happens.
        """

        masked = self.executions["execution_2"].mask_secrets(
            self.executions["execution_2"].to_serializable_dict()
        )
        for value in masked["parameters"]["response"].values():
            self.assertEqual(value, MASKED_ATTRIBUTE_VALUE)
Test that the response parameters for any `st2.inquiry.respond` executions are masked

        We aren't bothering to get the inquiry schema in the `st2.inquiry.respond` action,
        so we mask all response values. This test ensures this happens.
        
st2common/tests/unit/test_db_execution.py