aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexanderlacuna2020-11-02 13:35:59 +0300
committerAlexanderlacuna2020-11-02 13:35:59 +0300
commit62996d6b521379576992172fdee99468cb0260c9 (patch)
tree494e7d6d60572ea6051e267ad39e0341278b5325 /wqflask
parent6d2d648126b112ca1455c6e1f2d344a4d8d27c1d (diff)
downloadgenenetwork2-62996d6b521379576992172fdee99468cb0260c9.tar.gz
add function docstring
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/wqflask/show_trait/test_show_trait.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/tests/wqflask/show_trait/test_show_trait.py b/wqflask/tests/wqflask/show_trait/test_show_trait.py
index 37eae06e..1b5d2265 100644
--- a/wqflask/tests/wqflask/show_trait/test_show_trait.py
+++ b/wqflask/tests/wqflask/show_trait/test_show_trait.py
@@ -45,7 +45,7 @@ class TestTraits(unittest.TestCase):
self.assertEqual(result2, True)
def test_check_if_attr_exists_empty_attr(self):
- """test if attributes exists with empty attributes"""
+ """test if attributes exists with false return"""
trait_obj = TraitObject({"sample": ""})
trait_obj2 = TraitObject({"group": None})
result = check_if_attr_exists(trait_obj, "sample")
@@ -248,7 +248,7 @@ class TestTraits(unittest.TestCase):
@mock.patch("wqflask.show_trait.show_trait.get_scales_from_genofile")
def test_genotype_scales_with_genofile_other(self,mock_get_scales):
- """test for getting genotype scales with genofile as a strig"""
+ """test for getting genotype scales with genofile as a string"""
file_location = "~/another_file_location"
mock_get_scales.return_value = [["physic","Mb"]]