1. 08 Oct, 2020 8 commits
    • Eli Collins's avatar
      Merge from stable · 7aafcc60b4f5
      Eli Collins authored
      7aafcc60b4f5
    • Eli Collins's avatar
      Added tag 1.7.4 for changeset 45bd047ba3a3 · 058b04309b76
      Eli Collins authored
      --HG--
      branch : stable
      058b04309b76
    • Eli Collins's avatar
      bumped to 1.7.4, marking for release · 45bd047ba3a3
      Eli Collins authored
      --HG--
      branch : stable
      45bd047ba3a3
    • Eli Collins's avatar
      Merge from stable · 89ad1f77e1be
      Eli Collins authored
      As part of merge:
      * various: reverted the py26 compat fixes from rev 5e2f92012412
      * test utils: stripped out "has_real_subtest" compat from rev c732a9e2a582,
        since now on py35+, which always has .subTest() method
      89ad1f77e1be
    • Eli Collins's avatar
      passlib.ext.django: refactored tests to give more granular results. · 8eca0f220040
      Eli Collins authored
      * refactored DjangoBehaviorTest so instead of a monolothic "test_config()" method;
        there are now a bunch of different test methods.  additionally, the ones with
        loops now use TestCase.subTest() to parameter things appropriately.
      
        *no changes to logic of the tests*
      
      * added TestCase.subTest() stub & wrapper to make debugging subtests easier.
      
      * added some documentation to test classes.
      
      --HG--
      branch : stable
      8eca0f220040
    • Eli Collins's avatar
      passlib.ext.django: Updated UTs to work with latest django release · c732a9e2a582
      Eli Collins authored
      (should fix long-standing issue 98)
      
      * test_ext_django:
      
          - Simplified "stock config" setup code.  It now gets it's "sha_rounds" value
            from the django source, so we don't have to manually update it every time
            django changes their default.  This should require less maintenance across
            minor django releases.  (Should fix issue 98, and prevent recurrence)
      
          - Updated tests to account for quirks in how encoded hashes are handled.
            Specifically: None, "", and invalid hashes all cause subtly different
            behaviors across django versions.  tests pass against django 1.8 - 3.1.
      
          - split "empty hash" test out from the loop it shared with "null hash" test,
            since the two behave differently.
      
      * tox: expanded envlist to explicitly test a bunch more django versions
        (1.8 - 3.1); and remove some needless "django 2.x + py2" tests
      
      * passlib.apps: reformatted django CryptContext declarations;
        added one for django 2...
      c732a9e2a582
    • Eli Collins's avatar
      bugfix: python2.6 compat fixes -- a few "{}" set constructors slipped in. · 5e2f92012412
      Eli Collins authored
      --HG--
      branch : stable
      5e2f92012412
    • Eli Collins's avatar
      bugfix: passlib.tests: revert filtering PasslibSecurityWarning in general; · 626a25975fa3
      Eli Collins authored
      some tests depend on seeing it.
      
      (reverts change from rev be9a9121d5a7)
      
      --HG--
      branch : stable
      626a25975fa3
  2. 07 Oct, 2020 4 commits
  3. 06 Oct, 2020 28 commits