aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-23 22:30:16 +0300
committerBonfaceKilz2020-08-24 23:16:01 +0300
commitd8ba3a6fb10127506a3edd4b572797bb846da37c (patch)
treed077e7ddf57ac43ef1064d81b82fad233f1f064e /wqflask
parent9fa93f37c07e6825a2dd7e820eedfbbe24c6342a (diff)
downloadgenenetwork2-d8ba3a6fb10127506a3edd4b572797bb846da37c.tar.gz
Fix failing test
* wqflask/tests/wqflask/api/test_gen_menu.py: Update assertion. Result data introduced in 092212df Signed-off-by: BonfaceKilz <bonfacemunyoki@gmail.com>
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/wqflask/api/test_gen_menu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/tests/wqflask/api/test_gen_menu.py b/wqflask/tests/wqflask/api/test_gen_menu.py
index 79c77fec..239484aa 100644
--- a/wqflask/tests/wqflask/api/test_gen_menu.py
+++ b/wqflask/tests/wqflask/api/test_gen_menu.py
@@ -255,9 +255,9 @@ class TestGenMenu(unittest.TestCase):
('Mouse Tissue'), ('Human Tissue'), ('Rat Tissue')
)
self.assertEqual(build_types('mouse', 'random group'),
- [['M', 'M', 'Molecular Trait Datasets'],
- ['H', 'H', 'Molecular Trait Datasets'],
- ['R', 'R', 'Molecular Trait Datasets']])
+ [['M', 'M', 'Molecular Traits'],
+ ['H', 'H', 'Molecular Traits'],
+ ['R', 'R', 'Molecular Traits']])
db_mock.db.execute.assert_called_once_with(
"SELECT DISTINCT Tissue.Name " +
"FROM ProbeFreeze, ProbeSetFreeze, InbredSet, " +