1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 09:19:31 +00:00

Merge pull request #1951 from ThomasWaldmann/pretty-test-fails

get back pytest's pretty assertion failures, fixes #1938
This commit is contained in:
enkore 2016-12-13 20:58:58 +01:00 committed by GitHub
commit 60b6f5a30e

View file

@ -4,6 +4,8 @@
import pytest
# needed to get pretty assertion failures in unit tests:
pytest.register_assert_rewrite('borg')
# This is a hack to fix path problems because "borg" (the package) is in the source root.
# When importing the conftest an "import borg" can incorrectly import the borg from the