diff options
author | Alexanderlacuna | 2020-11-03 17:08:05 +0300 |
---|---|---|
committer | Alexanderlacuna | 2020-11-03 17:08:05 +0300 |
commit | 7da9a5206800d305f97b025e180300ca451ac92d (patch) | |
tree | c9d1dfad2f1b457d8727efa2ae1b89bb72df62a4 /wqflask/tests | |
parent | ef0c9bb30523b32decc163dcb62c125e7ba5a076 (diff) | |
download | genenetwork2-7da9a5206800d305f97b025e180300ca451ac92d.tar.gz |
switch from assertFalse to assertIs
Diffstat (limited to 'wqflask/tests')
-rw-r--r-- | wqflask/tests/wqflask/show_trait/test_show_trait.py | 3 |
1 files changed, 1 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 f666912b..ec45d558 100644 --- a/wqflask/tests/wqflask/show_trait/test_show_trait.py +++ b/wqflask/tests/wqflask/show_trait/test_show_trait.py @@ -31,7 +31,6 @@ class TestTraits(unittest.TestCase): self.assertIsInstance(trait_obj, TraitObject) self.assertIs(results, True) self.assertIs(result2, True) - def test_check_if_attr_exists_empty_attr(self): """test if attributes exists with false return""" @@ -98,7 +97,7 @@ class TestTraits(unittest.TestCase): create_dataset = TraitObject({"type": "ProbeSet"}) create_trait = TraitObject({"dataset": create_dataset}) - self.assertFalse(has_num_cases(create_trait), False) + self.assertIs(has_num_cases(create_trait), False) def test_hash_num_cases_no_probeset(self): """test for hash num cases with dataset.type not Probeset""" |