aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/tests')
-rw-r--r--wqflask/tests/api/test_gen_menu.py35
1 files changed, 1 insertions, 34 deletions
diff --git a/wqflask/tests/api/test_gen_menu.py b/wqflask/tests/api/test_gen_menu.py
index 92485d38..ca841708 100644
--- a/wqflask/tests/api/test_gen_menu.py
+++ b/wqflask/tests/api/test_gen_menu.py
@@ -258,40 +258,7 @@ class TestGenMenu(unittest.TestCase):
phenotypes_exist_mock.return_value = True
genotypes_exist_mock.return_value = True
- expected_result = {
- 'mouse': {
- 'H_T2': [('Phenotypes',
- 'Traits and Cofactors',
- 'Phenotypes'),
- ('Genotypes',
- 'DNA Markers and SNPs',
- 'Genotypes'),
- ['M', 'M', 'Molecular Trait Datasets']],
- 'H_T1': [('Phenotypes',
- 'Traits and Cofactors',
- 'Phenotypes'),
- ('Genotypes',
- 'DNA Markers and SNPs',
- 'Genotypes'),
- ['M', 'M', 'Molecular Trait Datasets']]
- },
- 'human': {
- 'HLC': [('Phenotypes',
- 'Traits and Cofactors',
- 'Phenotypes'),
- ('Genotypes',
- 'DNA Markers and SNPs',
- 'Genotypes'),
- ['M', 'M', 'Molecular Trait Datasets']],
- 'BXD': [('Phenotypes',
- 'Traits and Cofactors',
- 'Phenotypes'),
- ('Genotypes',
- 'DNA Markers and SNPs',
- 'Genotypes'),
- ['M', 'M', 'Molecular Trait Datasets']]
- }
- }
+ expected_result = self.test_type
build_types_mock.return_value = [
['M', 'M', 'Molecular Trait Datasets']