diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2020-05-11 14:14:50 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2020-05-11 14:14:50 -0400 |
| commit | a81474193a4c28a3ecd2c0e028de16454bb32913 (patch) | |
| tree | 107f511aa62b6ca36e50c592827f358e9d7765ff /docs | |
| parent | 972ff330923bf3c9ac38544d488736fdfff41454 (diff) | |
| download | passlib-a81474193a4c28a3ecd2c0e028de16454bb32913.tar.gz | |
passlib.tests: fixed bug where HandlerCase.test_82_crypt_support() wasn't
being run on systems where "os_crypt" backend detected as missing.
This was because of conflict with create_backend_case(), which marks
ALL methods as skipped if backend isn't present. Reworked so certain methods
can be marked as "run anyways". In particular, we want platform_crypt_support
checks to always run, since they're there as sanity check that our "os_crypt"
detection routines are actually working in the first place :)
Also rewrote test_82_crypt_support() contents to add some code comments.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/history/1.7.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst index 5dd63a5..49b452a 100644 --- a/docs/history/1.7.rst +++ b/docs/history/1.7.rst @@ -44,6 +44,9 @@ Bugfixes * :mod:`passlib.ext.django`: fixed lru_cache import (django 3 compatibility) +* :mod:`!passlib.tests`: fixed bug where :meth:`HandlerCase.test_82_crypt_support` wasn't + being run on systems lacking support for hasher being tested. Now runs regardless of support. + Other Changes ------------- |
