1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-22 15:28:57 +00:00

Lower PBKDF2 iteration count for the tests

This cuts testing time to about one third for me.
This commit is contained in:
Marian Beermann 2016-05-25 22:29:38 +02:00
parent 0e3bba7b64
commit 478a6f29b6
No known key found for this signature in database
GPG key ID: 9B8450B91D1362C1

View file

@ -27,7 +27,12 @@
from borg.testsuite import has_lchflags, no_lchlfags_because, has_llfuse from borg.testsuite import has_lchflags, no_lchlfags_because, has_llfuse
from borg.testsuite.platform import fakeroot_detected 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): def pytest_report_header(config, startdir):