summaryrefslogtreecommitdiffstats
path: root/conftest.py
diff options
context:
space:
mode:
authorMarian Beermann <public@enkore.de>2016-05-25 22:29:38 +0200
committerMarian Beermann <public@enkore.de>2016-05-25 22:29:57 +0200
commit478a6f29b6abbb024d55f00c637473be20ab2632 (patch)
treebfa8f3072b31001e12907164bf2bf292c6357cad /conftest.py
parent0e3bba7b640269595b2ed791fa2b9b18dd006bb7 (diff)
Lower PBKDF2 iteration count for the tests
This cuts testing time to about one third for me.
Diffstat (limited to 'conftest.py')
-rw-r--r--conftest.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/conftest.py b/conftest.py
index 450ff10a7..95bca39fc 100644
--- a/conftest.py
+++ b/conftest.py
@@ -27,7 +27,12 @@ setup_logging()
from borg.testsuite import has_lchflags, no_lchlfags_because, has_llfuse
from borg.testsuite.platform import fakeroot_detected
-from borg import xattr
+from borg import xattr, constants
+
+
+def pytest_configure(config):
+ # no fixture-based monkey-patching since star-imports are used for the constants module
+ constants.PBKDF2_ITERATIONS = 1
def pytest_report_header(config, startdir):