Python Library Unittest
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

case_short.tex 849B

12345678910111213141516171819
  1. {%- import 'macros.tex' as macros %}
  2. \paragraph{Testresult}\mbox{}\\
  3. This test was passed with the state: {\bf {{ macros.result(testcase.levelno) }}}. See also full trace
  4. in section \ref{testcase:{{testrun.testrun_id}}__{{testcase.message}}}!
  5. \begin{longtabu} to \linewidth {lX}
  6. \toprule
  7. Testrun: & {{ testrun.interpreter }}\\
  8. Caller: & {{ macros.latex_filter(testcase.pathname) }} ({{ "%d" % testcase.lineno }})\\
  9. Start-Time: & {{ macros.latex_filter(testcase.time_start) }}\\
  10. Finished-Time: & {{ macros.latex_filter(testcase.time_finished) }}\\
  11. Time-Consumption & {{ '%.3fs' % (testcase.time_consumption) }}\\
  12. \midrule
  13. \multicolumn{2}{l}{\bf{Testsummary:}}\\
  14. \midrule
  15. {%- for tLogger in testcase.testcaseLogger %}
  16. \bf{\,{{ macros.result(tLogger.levelno) }} } & {{ macros.latex_filter(tLogger.message) }}\\
  17. {%- endfor %}
  18. \bottomrule
  19. \end{longtabu}