1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 10:18:12 +00:00
Commit graph

6 commits

Author SHA1 Message Date
enkore
af923e261b conftest: pytest 2 compat 2016-12-17 15:23:47 +01:00
Thomas Waldmann
04340ae8b1 pytest: only rewrite the testsuite, fixes #1938
do not rewrite the borg application code, just the test code,
so the bytecode tested is identical / very close to the bytecode used in practice.
2016-12-15 03:02:06 +01:00
Thomas Waldmann
c6017abfb7 get back pytest's pretty assertion failures, fixes #1938 2016-12-13 19:27:01 +01:00
Marian Beermann
960c42193a
fix tox build for environment-python != containing-python in yet-another instance
this instance: the repository worktree is *not* named borg.

Cherry pick of 4f1157c into 1.0-maint due to f3efcdb

TODO removed since we already did that after 1.0-maint, but 1.0-maint
will never receive the change.
2016-11-13 11:20:00 +01:00
Thomas Waldmann
2679963cb9 add conftest.py hack needed for borg 1.0.x 2016-10-14 04:42:13 +02:00
Thomas Waldmann
f3efcdbd2e point XDG_*_HOME to temp dirs for tests, fixes #1714
otherwise it spoils the user's nonces and cache dirs with lots of files.

also: remove all BORG_* env vars from the outer environment

fix get_*_dir tests to use monkeypatch.
2016-10-14 00:46:43 +02:00