tests: Report details about failed assertions in tests.base

This commit is contained in:
Tomas Janousek 2020-06-28 18:13:46 +02:00 committed by Tomas Babej
parent 1cb822455c
commit 3edeef5960
2 changed files with 9 additions and 1 deletions

View file

@ -2,6 +2,11 @@
import pytest
import re
# enable assertion introspection for the common code in tests.base
pytest.register_assert_rewrite('tests.base')
markup_headers = {
'default': {
'HEADER1': "= %s =",