def test_post_invalid_crontimer_trigger_parameters(self):
        post_resp = self.__do_post(TestRuleController.RULE_6)
        self.assertEqual(post_resp.status_int, http_client.BAD_REQUEST)

        expected_msg = '1000 is greater than the maximum of 6'
        self.assertTrue(expected_msg in post_resp.body)

        post_resp = self.__do_post(TestRuleController.RULE_7)
        self.assertEqual(post_resp.status_int, http_client.BAD_REQUEST)

        expected_msg = 'Invalid weekday name \\"abcdef\\"'
        self.assertTrue(expected_msg in post_resp.body)

        post_resp = self.__do_post(TestRuleController.RULE_8)
        self.assertEqual(post_resp.status_int, http_client.BAD_REQUEST)

        expected_msg = 'Invalid weekday name \\"a\\"'
        self.assertTrue(post_resp.body in expected_msg)
dataset/ETHPy150Open StackStorm/st2/st2api/tests/unit/controllers/v1/test_rules.py/TestRuleController.test_post_invalid_crontimer_trigger_parameters/swapped operands of `in`