Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-08 | Move test case to mrna_assay_tissue_data test module | Munyoki Kilyungi | |
* wqflask/tests/unit/base/test_mrna_assay_tissue_data.py * wqflask/tests/unit/wqflask/correlation/test_correlation_functions.py (TestCorrelationFunctions.test_tissue_corr_computation): Delete. (TestCorrelationFunctions): Move this ... (test_mrna_assay_tissue_data_initialisation): ... here | |||
2022-09-08 | Inject database connection to mrna_assay_tissue_data class | Munyoki Kilyungi | |
* wqflask/base/mrna_assay_tissue_data.py: Imports: Delete database_connection, escape, and database_connector. (MrnaAssayTissueData): Inject conn. Re-format queries. Rework 'if ... else' logic. Re-work how results are assigned to 'self.data[symbol]' - remove dot-notation. (MrnaAssayTissueData.get_symbol_values_pairs): Move box-comments to doc-string. Rework how results are assigned to 'symbol_values_dict' - remove dot-notation. * wqflask/tests/unit/base/test_mrna_assay_tissue_data.py (test_mrna_assay_tissue_data_initialisation): New test. * wqflask/wqflask/correlation/correlation_functions.py: Import database_connection. (get_trait_symbol_and_tissue_values): Inject conn object. | |||
2022-09-08 | Rewrite "test_tissue_corr_computation" as a pytest | Munyoki Kilyungi | |
* wqflask/tests/unit/wqflask/correlation/test_correlation_functions.py (TestCorrelationFunctions): Convert this unittest class to ... (test_tissue_corr_computation): ... a pytest function. | |||
2022-09-08 | Replace "g.db" mocks with "database_connection" mocks | Munyoki Kilyungi | |
* wqflask/tests/unit/base/test_trait.py: Delete "wqflask.app" import. (TestRetrieveTraitInfo.setUp): Delete it. (TestRetrieveTraitInfo.tearDown): Ditto. (TestRetrieveTraitInfo.test_retrieve_trait_info_with_empty_dataset): Replace "g" mock with "database_connection" mock. (test_retrieve_trait_info_with_empty_trait_info): Ditto. (test_retrieve_trait_info_with_non_empty_trait_info): Ditto. (test_retrieve_trait_info_utf8_parsing): Ditto. * wqflask/tests/wqflask/show_trait/test_show_trait.py (TestTraits): (test_get_nearest_marker): Ditto. (test_get_nearest_marker_empty_db): Ditto. | |||
2022-09-08 | Move data.gen_menu_json to test_data_set.py | Munyoki Kilyungi | |
This is done to avoid relative imports. wqflask/tests/unit/base/data.py: Delete it. * wqflask/tests/unit/base/test_data_set.py: Add new variable GEN_MENU_JSON. (TestDataSetTypes.test_data_set_type_with_empty_redis): Upper-case "gen_menu_json" variable. | |||
2022-09-05 | Update values for "additive" in failing gemma test | Munyoki Kilyungi | |
* wqflask/tests/unit/wqflask/marker_regression/test_gemma_mapping.py (TestGemmaMapping.test_parse_loco_outputfile_found): Use a halved value in expected_results["additive"]. | |||
2022-08-31 | Add transform parameter to mapping api unit test | zsloan | |
2022-08-31 | Fix failing api/test_mapping.py test | zsloan | |
2022-08-08 | remove unnessary append to list | Alexander_Kabui | |
2022-08-08 | remove test;test is redundant | Alexander_Kabui | |
2022-08-08 | tests refactoring | Alexander_Kabui | |
2022-06-10 | Reverse polarity for gemma additive effects in tests | BonfaceKilz | |
Fixes broken test. See: #89a7868. | |||
2022-03-22 | Merge remote-tracking branch 'origin/testing' into feature/add_rqtl_pairscan | zsloan | |
2022-03-17 | Lint some test files | BonfaceKilz | |
2022-03-17 | Fix failing test | BonfaceKilz | |
2022-03-17 | Skip unittests | BonfaceKilz | |
These tests touch on core data-structures in gn2; and there's a chance that refactoring said data-structures may break many things. | |||
2022-03-17 | Replace "g.db" object with a proper database connection | BonfaceKilz | |
* 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. | |||
2022-01-14 | Merge branch 'testing' of github.com:genenetwork/genenetwork2 into ↵ | zsloan | |
feature/add_rqtl_pairscan | |||
2021-11-04 | use gn3 imports | BonfaceKilz | |
2021-10-25 | Update failing tests when testing `get_user_access_roles` | BonfaceKilz | |
2021-10-25 | Replace "resource_id" with "resource_info" dict | BonfaceKilz | |
This avoids calling Redis twice when fetching metadata about the resource. | |||
2021-10-25 | Get a users access mask | BonfaceKilz | |
If a user has several access roles, select the highest role. | |||
2021-10-25 | Add test-cases for `get_user_membership` | BonfaceKilz | |
2021-10-25 | Move markdown_routes to api/markdown | BonfaceKilz | |
All new API definitions should be migrated to "wqflask/ api" | |||
2021-10-13 | resolve merge conflict | Alexander Kabui | |
2021-10-12 | Fixed filename in test_gen_covariates_file; I think that the hash changed ↵ | zsloan | |
because I changed the test dataset name from 'dataser_1' to 'dataset_1' | |||
2021-10-12 | Fix R/qtl mapping test | zsloan | |
2021-10-12 | Merge branch 'testing' of github.com:genenetwork/genenetwork2 into ↵ | zsloan | |
feature/add_rqtl_pairscan | |||
2021-10-12 | Fixed test_gen_covariates_file | zsloan | |
2021-10-12 | Fixed export_mapping_results test in test_run_mapping.py | zsloan | |
2021-10-09 | unittest for processing wgcna output | Alexander Kabui | |
2021-10-06 | tests: test_run_mapping: Add missing "name" attribute to tests | BonfaceKilz | |
2021-10-06 | tests: test_run_mapping: Add missing calls | BonfaceKilz | |
After adding the missing attribute to "self.trait", we need to also need to update some missing calls. | |||
2021-10-06 | tests: test_run_mapping: Fix failing assert when getting perm strata | BonfaceKilz | |
2021-10-06 | tests: test_run_mapping: Add missing attribute to "self.trait" | BonfaceKilz | |
2021-10-06 | tests: test_run_mapping: Add missing positional argument "vals_hash" | BonfaceKilz | |
2021-07-06 | replace rpy2 for tissue corr | Alexander Kabui | |
2021-05-27 | Merge pull request #579 from zsloan/feature/rqtl_with_gn3 | zsloan | |
Use GN3 API for R/qtl | |||
2021-05-27 | Fix the way Mock is initialized | zsloan | |
2021-05-27 | Change test_rqtl_mapping.py to account for full results being returned from ↵ | zsloan | |
the GN3 request | |||
2021-05-27 | Fixed way MockGroup was initialized | zsloan | |
2021-05-27 | Forgot to import dataclass | zsloan | |
2021-05-27 | Fixed syntax mistake when creating dataclass in test_rqtl_mapping.py | zsloan | |
2021-05-27 | Removed 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-27 | Updated 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-27 | Improved test_rqtl_mapping.py with Bonface's recommendation of uses dataclasses | zsloan | |
2021-05-26 | tests: test_gen_menu: Remove get_species | BonfaceKilz | |
2021-05-22 | Fixed the mocked return_value for requests.post to fix broken test | zsloan | |
2021-05-22 | Fixed a couple broken tests | zsloan | |
2021-05-22 | Rewrote test_rqtl_mapping.py, though haven't done tests for all functions yet | zsloan | |