diff options
author | Munyoki Kilyungi | 2022-09-05 15:20:52 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | ea9315da2333fc327616f94093e2603b8532e53a (patch) | |
tree | 9d0c619ed0112774a26801203ab04fab9083a223 /wqflask/base | |
parent | 4a3b8a0bbd7365eb56a77f6cb6252aaf799d5ecc (diff) | |
download | genenetwork2-ea9315da2333fc327616f94093e2603b8532e53a.tar.gz |
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.
Diffstat (limited to 'wqflask/base')
0 files changed, 0 insertions, 0 deletions