diff options
author | Munyoki Kilyungi | 2022-09-05 15:06:21 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | 07a10a5d70e16fa1f0db4682848fd61fdff5ddf0 (patch) | |
tree | aaae0e6bffa7dbc1038402713b29a8eb93db5208 /wqflask/tests | |
parent | cc126210f2dd60951428ebbea34059c7d25f560f (diff) | |
download | genenetwork2-07a10a5d70e16fa1f0db4682848fd61fdff5ddf0.tar.gz |
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.
Diffstat (limited to 'wqflask/tests')
-rw-r--r-- | wqflask/tests/wqflask/show_trait/test_show_trait.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/wqflask/tests/wqflask/show_trait/test_show_trait.py b/wqflask/tests/wqflask/show_trait/test_show_trait.py index 3f2afee3..b18f8d0a 100644 --- a/wqflask/tests/wqflask/show_trait/test_show_trait.py +++ b/wqflask/tests/wqflask/show_trait/test_show_trait.py @@ -1,7 +1,6 @@ """test for wqflask/show_trait/test_show_trait.py""" import unittest from unittest import mock -from wqflask import app from wqflask.show_trait.show_trait import check_if_attr_exists from wqflask.show_trait.show_trait import get_ncbi_summary from wqflask.show_trait.show_trait import has_num_cases @@ -20,12 +19,6 @@ class TraitObject: class TestTraits(unittest.TestCase): - def setUp(self): - self.app_context = app.app_context() - self.app_context.push() - - def tearDown(self): - self.app_context.pop() def test_check_if_attr_exists_truthy(self): """"test if attributes exists with true return""" |