diff --git a/tests/conftest.py b/tests/conftest.py index 83c65fea4..b04698dbe 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -30,6 +30,8 @@ import operator import pytest import hypothesis +pytest.register_assert_rewrite('helpers') + from helpers import logfail from helpers.logfail import fail_on_logging from helpers.messagemock import message_mock diff --git a/tests/end2end/conftest.py b/tests/end2end/conftest.py index 87bde6422..73d4a87ab 100644 --- a/tests/end2end/conftest.py +++ b/tests/end2end/conftest.py @@ -25,6 +25,9 @@ import os import shutil import pstats import os.path +import pytest + +pytest.register_assert_rewrite('end2end.fixtures') from end2end.fixtures.webserver import httpbin, httpbin_after_test, ssl_server from end2end.fixtures.quteprocess import (quteproc_process, quteproc,