def test_post_trigger_parameter_schema_validation_fails(self):
        post_resp = self.__do_post(TestRuleController.RULE_2)
        self.assertEqual(post_resp.status_int, http_client.BAD_REQUEST)

        expected_msg = 'Additional properties are not allowed (u\'minutex\' was unexpected)'
        self.assertTrue(expected_msg in post_resp.body)
dataset/ETHPy150Open StackStorm/st2/st2api/tests/unit/controllers/v1/test_rules.py/TestRuleController.test_post_trigger_parameter_schema_validation_fails/original