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 | 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 |
2021-04-30 | autopep8: Fix E501 | BonfaceKilz |
2021-04-30 | autopep8: Fix E301,E302,E303,E304,E305,E306 | BonfaceKilz |
2020-11-06 | fix typo | Alexanderlacuna |
2020-11-05 | remove duplicates | Alexanderlacuna |
2020-11-05 | add test for samplelist and show_trait | Alexanderlacuna |
2020-11-04 | correct a typo | Alexanderlacuna |
2020-11-04 | remove extra whitespace | Alexanderlacuna |
2020-11-04 | remove whitespace in line 119-120 | Alexanderlacuna |
2020-11-04 | remove whitespace | Alexanderlacuna |
2020-11-04 | remove whitespace and assertIs | Alexanderlacuna |
2020-11-03 | remove unnecessary comments | Alexanderlacuna |
2020-11-03 | add pep8 formatting | Alexanderlacuna |
2020-11-03 | add tests for the get_categorical_variables function | Alexanderlacuna |
2020-11-03 | switch from assertFalse to assertIs | Alexanderlacuna |
2020-11-03 | switch from assertTrue/False to assertIs to make the tests tighter | Alexanderlacuna |
2020-11-03 | use assertTrue and assertFalse in while testing boolean | Alexanderlacuna |
2020-11-02 | add better formatting | Alexanderlacuna |
2020-11-02 | add function docstring | Alexanderlacuna |
2020-11-02 | add tests for show trait module | Alexanderlacuna |