tests: clarify user IP range test dependency on beaker caching of user objects Requests with invalid request address would pass after configuring user IP ra...
kiilerix committed on 2016-03-02 16:03:23
branch: default tag: tip changeset: 95a33e5d tests: clarify user IP range test dependency on beaker caching of user objects Requests with invalid request address would pass after configuring user IP ranges because the IP range would not be validated as long as the user object was found in the beaker cache. Instead, wait until the beaker cache has expired and verify the user cannot log in without a valid IP. Then provide a valid IP for later requests until the IP range is removed again. Based on original patch and research by Dominik Ruf. M kallithea/tests/functional/test_admin_permissions.py (14 lines added, 2 lines removed) |
_______________________________________________ kallithea-general mailing list [email protected] http://lists.sfconservancy.org/mailman/listinfo/kallithea-general
