def _trigger(self):
log.debug('<STR_LIT>'.format(self._ctx))<EOL>try:<EOL><INDENT>err = self._engine.run(self._ctx)<EOL><DEDENT>except Exception as _err:<EOL><INDENT>err = _err<EOL><DEDENT>finally:<EOL><INDENT>self._engine.reset()<EOL>self._root._engine.reset()<EOL><DEDENT>if err:<EOL><INDENT>raise err<EOL><DEDENT>return self<EOL>
Trigger assertions in the current test engine.

Raises:
    AssertionError: in case of assertion error.
    Exception: in case of any other assertion error.