aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit
AgeCommit message (Expand)Author
2022-08-31Add transform parameter to mapping api unit testzsloan
2022-08-31Fix failing api/test_mapping.py testzsloan
2022-08-08remove unnessary append to listAlexander_Kabui
2022-08-08remove test;test is redundantAlexander_Kabui
2022-08-08tests refactoringAlexander_Kabui
2022-06-10Reverse polarity for gemma additive effects in tests...Fixes broken test. See: #89a7868. BonfaceKilz
2022-03-22Merge remote-tracking branch 'origin/testing' into feature/add_rqtl_pairscanzsloan
2022-03-17Lint some test filesBonfaceKilz
2022-03-17Fix failing testBonfaceKilz
2022-03-17Skip unittests...These tests touch on core data-structures in gn2; and there's a chance that refactoring said data-structures may break many things. BonfaceKilz
2022-03-17Replace "g.db" object with a proper database connection...* wqflask/tests/unit/wqflask/api/test_correlation.py: Use proper database connection instead of the db connection attached at "g.db". * wqflask/tests/unit/wqflask/snp_browser/test_snp_browser.py: Ditto. * wqflask/wqflask/api/correlation.py: Ditto. * wqflask/wqflask/snp_browser/snp_browser.py: Ditto. BonfaceKilz
2022-01-14Merge branch 'testing' of github.com:genenetwork/genenetwork2 into feature/ad...zsloan
2021-11-04use gn3 importsBonfaceKilz
2021-10-25Update failing tests when testing `get_user_access_roles`BonfaceKilz
2021-10-25Replace "resource_id" with "resource_info" dict...This avoids calling Redis twice when fetching metadata about the resource. BonfaceKilz
2021-10-25Get a users access mask...If a user has several access roles, select the highest role. BonfaceKilz
2021-10-25Add test-cases for `get_user_membership`BonfaceKilz
2021-10-25Move markdown_routes to api/markdown...All new API definitions should be migrated to "wqflask/ api" BonfaceKilz
2021-10-13resolve merge conflictAlexander Kabui
2021-10-12Fixed filename in test_gen_covariates_file; I think that the hash changed bec...zsloan
2021-10-12Fix R/qtl mapping testzsloan
2021-10-12Merge branch 'testing' of github.com:genenetwork/genenetwork2 into feature/ad...zsloan
2021-10-12Fixed test_gen_covariates_filezsloan
2021-10-12Fixed export_mapping_results test in test_run_mapping.pyzsloan
2021-10-09unittest for processing wgcna outputAlexander Kabui
2021-10-06tests: test_run_mapping: Add missing "name" attribute to testsBonfaceKilz
2021-10-06tests: test_run_mapping: Add missing calls...After adding the missing attribute to "self.trait", we need to also need to update some missing calls. BonfaceKilz
2021-10-06tests: test_run_mapping: Fix failing assert when getting perm strataBonfaceKilz
2021-10-06tests: test_run_mapping: Add missing attribute to "self.trait"BonfaceKilz
2021-10-06tests: test_run_mapping: Add missing positional argument "vals_hash"BonfaceKilz
2021-07-06replace rpy2 for tissue corrAlexander Kabui
2021-05-27Merge pull request #579 from zsloan/feature/rqtl_with_gn3...Use GN3 API for R/qtlzsloan
2021-05-27Fix the way Mock is initializedzsloan
2021-05-27Change test_rqtl_mapping.py to account for full results being returned from t...zsloan
2021-05-27Fixed way MockGroup was initializedzsloan
2021-05-27Forgot to import dataclasszsloan
2021-05-27Fixed syntax mistake when creating dataclass in test_rqtl_mapping.pyzsloan
2021-05-27Removed parts of test_rqtl_mapping.py referring to process_perm_results and p...zsloan
2021-05-27Updated test_run_mapping.py to account for attribute keys being checked as lo...zsloan
2021-05-27Improved test_rqtl_mapping.py with Bonface's recommendation of uses dataclasseszsloan
2021-05-26tests: test_gen_menu: Remove get_speciesBonfaceKilz
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 initialisation...This is no longer required since the global object "Flask.g.db" is no longer coupled to the gen_menu module. BonfaceKilz
2021-05-08tests: test_gen_menu: Update failing tests...Update tests to use (and mock) the injected MySQL connection object. BonfaceKilz
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