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:
parent
0e3bba7b64
commit
478a6f29b6
1 changed files with 6 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue