def test_tr_create_invalid_pattern(self):
        wf = self.workflow_create(self.wf_def)
        self.assertRaises(exceptions.CommandFailed,
                          self.mistral_admin,
                          'cron-trigger-create',
                          params=wf[0]['Name'] % 'tr %s {} --pattern "q"')
dataset/ETHPy150Open openstack/python-mistralclient/mistralclient/tests/functional/cli/v2/cli_tests_v2.py/NegativeCLITests.test_tr_create_invalid_pattern/swapped operands of `%`