Age | Commit message (Collapse) | Author |
|
* wqflask/tests/utility/test_hmac.py (test_hmac_creation_with_cookie):
New test. For this test, use a secret that behaves differently when
encoded to either utf-8 or latin-1.
|
|
* wqflask/tests/base/test_data_set.py (imports): Run:
`find . -type f -name "*py" -print0 | xargs -0 sed -i \
"s|import mock|from unittest import mock|g"`
* wqflask/tests/base/test_trait.py(imports): Ditto.
* wqflask/tests/utility/test_authentication_tools.py(imports): Ditto.
* wqflask/tests/utility/test_hmac.py(imports). Ditto.
* wqflask/tests/wqflask/api/test_gen_menu.py: Ditto
|
|
|
|
* wqflask/tests/utility/test_hmac.py: Mock app.config's
"SECRET_HMAC_CODE" value.
|
|
* wqflask/tests/utility/test_authentication_tools.py
test_check_resource_availability_non_default_mask): Mock flask's
global 'g' variable properly.
* wqflask/tests/base/test_trait.py: Ditto.
* wqflask/tests/utility/test_authentication_tools.py: Ditto.
|
|
* wqflask/tests/utility/test_hmac.py: New tests.
|
|
* wqflask/tests/utility/test_authentication_tools.py: Add them.
|
|
Catches bugs in:
-
https://github.com/genenetwork/genenetwork2/pull/422/commits/70dbeeb5832711ed5271434e482c18bc7ea095b8
* wqflask/tests/utility/test_authentication_tools.py: New file. Add
tests for "check_resource_availability".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* wqflask/tests/utility/test_chunks.py: New test
|