I had to put the register_assert_rewrite
into tests/__init__.py
like so:
import pytest
# we want to have pytest assert introspection in the helpers
pytest.register_assert_rewrite('tests.helpers')
I had to put the register_assert_rewrite
into tests/__init__.py
like so:
import pytest
# we want to have pytest assert introspection in the helpers
pytest.register_assert_rewrite('tests.helpers')