aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
AgeCommit message (Collapse)Author
2021-05-27Removed parts of test_rqtl_mapping.py referring to process_perm_results and ↵zsloan
process_rqtl_results since that functionality was moved to GN3
2021-05-27Updated test_run_mapping.py to account for attribute keys being checked as ↵zsloan
lowercase, though not sure if this will fully fix the test
2021-05-27Improved test_rqtl_mapping.py with Bonface's recommendation of uses dataclasseszsloan
2021-05-22Fixed the mocked return_value for requests.post to fix broken testzsloan
2021-05-22Fixed a couple broken testszsloan
2021-05-22Rewrote test_rqtl_mapping.py, though haven't done tests for all functions yetzsloan
2021-05-10Merge branch 'testing' into feature/integrate-correlation-apiAlexander Kabui
2021-05-08tests: test_gen_menu: Remove app_context initialisationBonfaceKilz
This is no longer required since the global object "Flask.g.db" is no longer coupled to the gen_menu module.
2021-05-08tests: test_gen_menu: Update failing testsBonfaceKilz
Update tests to use (and mock) the injected MySQL connection object.
2021-05-05tests: test_species: Update failing testsBonfaceKilz
2021-05-05templates: test_species: Add tests for instantiating ChromosomesBonfaceKilz
2021-05-05tests: test_species: Test that IndChromosome instantiates correctlyBonfaceKilz
2021-05-05tests: test_species: Add test cases for TestTheSpecies classBonfaceKilz
2021-04-30autopep8: Run autopep8 100 times with target rulesBonfaceKilz
Rules used are: E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,E242, E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306, E401,E501,E70,E701,W291,W292,W293,W391,W504,E101,E11,E121, E122,E123,E124,E125,E126,E127,E128,E129,E131,E133
2021-04-30autopep8: Fix E121,E122,E123,EI24,E125,E126,E127,E128,E129,E131,E133BonfaceKilz
2021-04-30autopep8: Fix E101, E11BonfaceKilz
2021-04-30autopep8: Fix W504BonfaceKilz
2021-04-30autopep8: Fix W291, W292, W293, W391BonfaceKilz
2021-04-30autopep8: Fix E501BonfaceKilz
2021-04-30autopep8: Fix E301,E302,E303,E304,E305,E306BonfaceKilz
2021-04-30autopep8: Fix E20-E27BonfaceKilz
Run: python -m autopep8 --in-place --recrusive ./ --select\ E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,\ E242,E251,E252,E26,E265,E266,E27 -p 3
2021-04-29tests: test_data_set: Update testBonfaceKilz
2021-04-29tests: unit: test_data_set: Remove unused mockBonfaceKilz
2021-03-24initial commit for gn3-correlation api integrationAlexander Kabui
2021-03-16Fixed test_check_resource_availability_of_super_user to account for user_id ↵zsloan
being returned as bytes instead of a str
2021-02-19Fixed test_gen_menu to reflect updated queryzsloan
2021-02-19Fixed TestCheckResourceAvailability to make it work after realizing that ↵zsloan
Redis.smembers apparently returns values as bytes
2021-02-19Fixed test_run_mapping.py to make export_mapping_results test work correctlyzsloan
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