Total Complexity | 1 |
Total Lines | 9 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
2 | from dvnv.utils import print_error |
||
3 | |||
4 | |||
5 | def test_print_error(capsys): |
||
6 | print_error("To stderr") |
||
7 | captured = capsys.readouterr() |
||
8 | assert captured.err == "[ERR] To stderr\n" |
||
9 |