Age | Commit message (Expand) | Author |
---|---|---|
2022-09-08 | Replace "g.db" mocks with "database_connection" mocks...* 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. | Munyoki Kilyungi |
2022-09-08 | Adjust expected table width...* wqflask/tests/wqflask/show_trait/test_show_trait.py (TestTraits.test_get_table_widths): Use new values for the table width to make the tests pass. | Munyoki Kilyungi |
2022-09-08 | Condense test-cases for "get_ncbi_summary_request" into one test...* wqflask/tests/wqflask/show_trait/test_show_trait.py: (TestTraits.test_get_ncbi_summary_request_success): Condense this ... (TestTraits.test_get_ncbi_summary_request): ... and this ... (test_get_ncbi_summary_request): ... here. | Munyoki Kilyungi |
2022-09-08 | Parametrize test cases for "check_if_attr_exists"...* wqflask/tests/wqflask/show_trait/test_show_trait.py: Import pytest. (TestTraits.test_check_if_attr_exists_truthy): Delete it. (TestTraits.test_check_if_attr_exists_empty_attr): Ditto. (TestTraits.test_check_if_attr_exists_falsey): Ditto. (TestTraits.test_check_if_attr_exists_falsey): Ditto. test_check_if_attr_exists: Add new parametrized test case to test "check_if_attr_exists". | Munyoki Kilyungi |
2022-09-08 | Add extra distinct_values and id attributes to test TraitObject...* wqflask/tests/wqflask/show_trait/test_show_trait.py (TraitObject): Add self.id and self.distinct_values. | Munyoki Kilyungi |
2022-09-08 | Remove app initialisation in test...* wqflask/tests/wqflask/show_trait/test_show_trait.py: Delete "wqflask.app" import. (TestTraits.setUp): Delete it. (TestTraits.tearDown): Ditto. | Munyoki Kilyungi |
2022-09-08 | Move data.gen_menu_json to test_data_set.py...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. | Munyoki Kilyungi |
2022-09-08 | Delete dead imports...* wqflask/base/data_set.py: Remove un-used imports. * wqflask/base/trait.py: Ditto. wqflask/tests/wqflask/show_trait/test_show_trait.py: Ditto. * wqflask/wqflask/show_trait/show_trait.py: Ditto. * wqflask/wqflask/views: Ditto. | Munyoki Kilyungi |
2022-09-05 | Update values for "additive" in failing gemma test...* wqflask/tests/unit/wqflask/marker_regression/test_gemma_mapping.py (TestGemmaMapping.test_parse_loco_outputfile_found): Use a halved value in expected_results["additive"]. | Munyoki Kilyungi |
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 | Skip failing integration test...ATM, it's hard to by-pass the authentication decorators, and as such, skip this test for. This may be deleted later. | BonfaceKilz |
2022-06-10 | Reverse polarity for gemma additive effects in tests...Fixes broken test. See: #89a7868. | BonfaceKilz |
2022-04-14 | wqflask: Mock db connection when fetching case attributes...* wqflask/tests/integration/wqflask/test_metadata_edits.py (test_show_case_attributes): Mock "database_connection". Fixes this failing test: <https://ci.genenetwork.org/jobs/genenetwork2/223> | BonfaceKilz |
2022-04-07 | Create a new page to display case-attributes and their descriptions...* wqflask/wqflask/metadata_edits.py: Import "gn3.db.sample_data.get_case_attributes". (show_case_attribute_columns): New function/ end-point to show case-attributes. * wqflask/tests/integration/wqflask/test_metadata_edits.py: New integration tests for the above. * wqflask/tests/integration/wqflask/__init__.py: New file. * wqflask/wqflask/templates/case_attributes.html: New template file to display the above. | BonfaceKilz |
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...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-17 | Replace "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-14 | Merge branch 'testing' of github.com:genenetwork/genenetwork2 into feature/ad... | zsloan |
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...This avoids calling Redis twice when fetching metadata about the resource. | BonfaceKilz |
2021-10-25 | Get a users access mask...If a user has several access roles, select the highest role. | BonfaceKilz |
2021-10-25 | Add test-cases for `get_user_membership` | BonfaceKilz |
2021-10-25 | Move markdown_routes to api/markdown...All new API definitions should be migrated to "wqflask/ api" | BonfaceKilz |
2021-10-13 | resolve merge conflict | Alexander Kabui |
2021-10-12 | Fixed filename in test_gen_covariates_file; I think that the hash changed bec... | zsloan |
2021-10-12 | Fix R/qtl mapping test | zsloan |
2021-10-12 | Merge branch 'testing' of github.com:genenetwork/genenetwork2 into feature/ad... | zsloan |
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...After adding the missing attribute to "self.trait", we need to also need to update some missing calls. | BonfaceKilz |
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-12 | fix merge conflict | Alexander Kabui |
2021-07-12 | tests: test_markdown_routes: Remove stubbed out tests | BonfaceKilz |
2021-07-06 | replace rpy2 for tissue corr | Alexander Kabui |
2021-05-27 | Merge pull request #579 from zsloan/feature/rqtl_with_gn3...Use GN3 API for R/qtl | zsloan |
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 t... | zsloan |
2021-05-27 | Fixed way MockGroup was initialized | zsloan |
2021-05-27 | Forgot to import dataclass | zsloan |