aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit
AgeCommit message (Collapse)Author
2021-02-19Patched utility.authentication_tools.g as TestUserSession because otherwise ↵zsloan
the str.encode failed on the mock.Mock() object, and this also seems consistent with the way it's done in a later method
2021-01-31Update sql query in testBonfaceKilz
* wqflask/tests/unit/wqflask/api/test_gen_menu.py (test_build_datasets_with_type_mrna): Update sql query to fix failing test
2021-01-18Pass salt as bytes when testing pbkdf2_hexBonfaceKilz
* wqflask/tests/unit/wqflask/test_pbkdf2.py (test_pbkdf2_hex): Make password salt bytes. Breaking change introduced in 0bac313ba.
2021-01-06remove commentsAlexanderkabui
2021-01-06update tests for snp_browserAlexanderkabui
2021-01-06fix tests for show_corr_resultsAlexanderkabui
2021-01-06refactor tests and pep8 formattingAlexanderkabui
2021-01-06modify get_header testsAlexanderkabui
2021-01-06add tests for type checkingAlexanderkabui
2021-01-06add tests for snp browserAlexanderkabui
2021-01-06modify tests for show_corr_resultsAlexanderkabui
2021-01-06pep8 formatting in wqflask/api/test_mapping.pyAlexanderkabui
2021-01-06pep8 formatting and refactoring testsAlexanderkabui
2021-01-06modify tests for calculate correlation resultsAlexanderkabui
2021-01-06replace assertEqual with assertAlmostEqual for floatsAlexanderkabui
2021-01-06add test for calculating correlation resultsAlexanderkabui
2021-01-06add tests for getting sample_r and p valuesAlexanderkabui
2021-01-06add test for map_api in api/test_mapping.pyAlexander Kabui
2021-01-06add test in api/mappingAlexanderlacuna
2021-01-06add correlation testAlexanderlacuna
2021-01-06add unit testsfor api/correlation.pyAlexanderlacuna
2021-01-06add unit tests for api/mapping.pyAlexanderlacuna
2021-01-05add server side class unit testsuditgulati
2020-12-29update tests for run gemmaAlexanderkabui
2020-12-17remove test for parse_gemma_output and modify run_gemma tests (#533)Alexander Kabui
2020-12-05add pep8 formattingAlexander Kabui
2020-12-05modify tests for run_gemmaAlexander Kabui
2020-11-28modify test for plink mapping and rqtl_mappingAlexander Kabui
2020-11-27move tests to unit folderAlexander Kabui
2020-11-20Replace mockobject with dataclassesBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py (MockRequests404): Use dataclasses. (MockRequests200): Ditto.
2020-11-20Update tests to use new gn2-docs urlBonfaceKilz
2020-11-04Update test_markdown_routesBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py (test_render_markdown_when_fetching_locally): Fix failing test.
2020-11-03Fix false-positive testsBonfaceKilz
* 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-03Add basic tests for rendering_markdownBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py: New tests.
2020-11-03Remove encoding header for fileBonfaceKilz
In python3 the default encoding is utf-8 so this is redundant.
2020-11-03Separate unittests from integration testsBonfaceKilz