Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-03 | Fix false-positive tests | BonfaceKilz | |
* wqflask/tests/unit/wqflask/test_markdown_routes.py: (MockRequests404): Pass self in all properties. (MockRequests200): Ditto. (test_render_markdown): Rename to test_render_markdown_when_fetching_locally. (test_render_markdown_when_fetching_remotely): New test. | |||
2020-11-03 | Delete file | BonfaceKilz | |
* wqflask/tests/integration/test_glossary.py: Delete it. Earlier renamed to test_markdown_routes. | |||
2020-11-03 | Add basic tests for rendering_markdown | BonfaceKilz | |
* wqflask/tests/unit/wqflask/test_markdown_routes.py: New tests. | |||
2020-11-03 | Add basic structure for "/glossary" routes test | BonfaceKilz | |
2020-11-03 | remove unnecessary comments | Alexanderlacuna | |
2020-11-03 | add pep8 formatting | Alexanderlacuna | |
2020-11-03 | add tests for the get_categorical_variables function | Alexanderlacuna | |
2020-11-03 | Remove encoding header for file | BonfaceKilz | |
In python3 the default encoding is utf-8 so this is redundant. | |||
2020-11-03 | Separate unittests from integration tests | BonfaceKilz | |
2020-11-03 | Add test for "/glossary" route | BonfaceKilz | |
2020-11-03 | switch from assertFalse to assertIs | Alexanderlacuna | |
2020-11-03 | switch from assertTrue/False to assertIs to make the tests tighter | Alexanderlacuna | |
2020-11-03 | use assertTrue and assertFalse in while testing boolean | Alexanderlacuna | |
2020-11-02 | add better formatting | Alexanderlacuna | |
2020-11-02 | add function docstring | Alexanderlacuna | |
2020-11-02 | add tests for show trait module | Alexanderlacuna | |
2020-10-31 | remove redundant classes | Alexanderlacuna | |
2020-10-31 | use descriptive variable names | Alexanderlacuna | |
2020-10-31 | Use more descriptive variable and class names | Alexanderlacuna | |
2020-10-30 | add test for get_export_metadata | Alexanderlacuna | |
2020-10-29 | add test for show_trait | Alexanderlacuna | |
2020-10-29 | Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵ | Alexanderlacuna | |
test-branch | |||
2020-10-29 | format file | Alexanderlacuna | |
2020-10-29 | add test for show_trait/export_trait_data | Alexanderlacuna | |
2020-10-28 | Add new test for hmac_creation with latin-1 secret | BonfaceKilz | |
* 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. | |||
2020-10-28 | Add tests for cookie verification | BonfaceKilz | |
2020-10-27 | Merge pull request #465 from Alexanderlacuna/test-branch | BonfaceKilz | |
add test for trait_data | |||
2020-10-27 | switch from single quote to double quote | Alexanderlacuna | |
2020-10-27 | address failures | Alexanderlacuna | |
2020-10-27 | added changes to file | Alexanderlacuna | |
2020-10-27 | modified to use pep8 standards | Alexanderlacuna | |
2020-10-26 | modified test file | Alexanderlacuna | |
2020-10-20 | Add tests for encoding password | BonfaceKilz | |
* wqflask/tests/wqflask/test_user_login.py: New tests. | |||
2020-10-20 | Add pbkdf2 tests | BonfaceKilz | |
* wqflask/tests/wqflask/test_pbkdf2.py: New tests. | |||
2020-10-09 | Add test for process_traits from collections.py | BonfaceKilz | |
* wqflask/tests/wqflask/test_collect.py: Add it. | |||
2020-09-30 | Fix import in tests | BonfaceKilz | |
2020-09-29 | Add test for process_traits from collections.py | BonfaceKilz | |
* wqflask/tests/wqflask/test_collect.py: Add it. | |||
2020-09-28 | Fix failing test | BonfaceKilz | |
* wqflask/tests/base/test_trait.py: Add app_context to test class, otherwise an error related to working outside the app_context is generated. Adding the app_context is required when mocking "Flask.g". | |||
2020-09-28 | Merge branch 'build/python3-migration' of ↵ | BonfaceKilz | |
github.com:BonfaceKilz/genenetwork2 into build/python3-migration | |||
2020-09-28 | Update trait tests | BonfaceKilz | |
* wqflask/tests/base/test_trait.py (test_retrieve_trait_info_with_non_empty_lrs): Check trait.LRS_score_repr is set correctly if trait.lrs is None. (test_retrieve_trait_info_with_empty_lrs_field): Check trait.LRS_score_repr and test_trait.LRS_location_repr is set correctly if trait.lrs is None. (test_retrieve_trait_info_with_empty_chr_field): Check test_trait.LRS_score_repr and test_trait.LRS_location_repr is set correctly if trait.locus is None. | |||
2020-09-26 | Fix failing tests by replacing mock with unittest.mock | BonfaceKilz | |
* 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 | |||
2020-09-26 | Fix failing tests | BonfaceKilz | |
* wqflask/tests/base/test_trait.py: Remove decode function call which is no longer supported in python3. | |||
2020-09-26 | Merge branch 'testing' into build/python3-migration | BonfaceKilz | |
2020-09-23 | Fix failing tests | BonfaceKilz | |
* wqflask/tests/base/test_trait.py: In python2 it's necessary to decode the utf-8 string. | |||
2020-09-17 | Merge branch 'testing' into build/python3-migration | BonfaceKilz | |
2020-09-17 | Mock "SECRET_HMAC_CODE" | BonfaceKilz | |
* wqflask/tests/utility/test_hmac.py: Mock app.config's "SECRET_HMAC_CODE" value. | |||
2020-09-17 | Fix errors in tests | BonfaceKilz | |
* 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. | |||
2020-09-17 | Merge branch 'testing' into build/python3-migration | BonfaceKilz | |
2020-09-17 | Add tests for hmac utility | BonfaceKilz | |
* wqflask/tests/utility/test_hmac.py: New tests. | |||
2020-09-16 | Add new tests for "base/trait.py" | BonfaceKilz | |
* wqflask/tests/base/test_trait.py: New tests. |