File: test_matrix_stdout.py

package info (click to toggle)
junit2html 31.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 576 kB
  • sloc: xml: 3,208; python: 1,023; makefile: 6; sh: 5
file content (12 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
from junit2htmlreport import runner
from .inputfiles import get_filepath


def test_matrix_stdout(capsys):
    runner.run(["--summary-matrix", get_filepath("junit-unicode.xml")])

    out, err = capsys.readouterr()

    assert u"A Class with a cent ¢" in out
    assert u"Euro € Test Case" in out