Skip to content

Commit f78eaa0

Browse files
authored
make the assertion errors in db_snapshot.py more verbose in pytest (#6610)
1 parent 57df7ad commit f78eaa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
ResponseClass = TypeVar("ResponseClass")
6666
DEFAULT_TESTING_LOG_LEVEL = "WARNING"
6767

68+
pytest.register_assert_rewrite("tests.db_snapshot")
69+
6870

6971
def pytest_addoption(parser):
7072
parser.addoption("--neo4j", action="store_true", dest="neo4j", default=False, help="enable neo4j tests")

0 commit comments

Comments
 (0)