From 478a6f29b6abbb024d55f00c637473be20ab2632 Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Wed, 25 May 2016 22:29:38 +0200 Subject: [PATCH] Lower PBKDF2 iteration count for the tests This cuts testing time to about one third for me. --- conftest.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index 450ff10a7..95bca39fc 100644 --- a/conftest.py +++ b/conftest.py @@ -27,7 +27,12 @@ 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):