aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit/base/data.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-05 12:38:03 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commitb555d046fb1a0370c41f470c19a9b4a4d6c13d1f (patch)
treea0d24945156bde8eaa4c315ccee11199f14582a8 /wqflask/tests/unit/base/data.py
parent3f7924fb8e2d2abfb49cdc458149d00a603f7d97 (diff)
downloadgenenetwork2-b555d046fb1a0370c41f470c19a9b4a4d6c13d1f.tar.gz
Move data.gen_menu_json to test_data_set.py
This is done to avoid relative imports. wqflask/tests/unit/base/data.py: Delete it. * wqflask/tests/unit/base/test_data_set.py: Add new variable GEN_MENU_JSON. (TestDataSetTypes.test_data_set_type_with_empty_redis): Upper-case "gen_menu_json" variable.
Diffstat (limited to 'wqflask/tests/unit/base/data.py')
-rw-r--r--wqflask/tests/unit/base/data.py110
1 files changed, 0 insertions, 110 deletions
diff --git a/wqflask/tests/unit/base/data.py b/wqflask/tests/unit/base/data.py
deleted file mode 100644
index 06a5a989..00000000
--- a/wqflask/tests/unit/base/data.py
+++ /dev/null
@@ -1,110 +0,0 @@
-gen_menu_json = """
-{
- "datasets": {
- "human": {
- "HLC": {
- "Liver mRNA": [
- [
- "320",
- "HLC_0311",
- "GSE9588 Human Liver Normal (Mar11) Both Sexes"
- ]
- ],
- "Phenotypes": [
- [
- "635",
- "HLCPublish",
- "HLC Published Phenotypes"
- ]
- ]
- }
- },
- "mouse": {
- "BXD": {
- "Genotypes": [
- [
- "600",
- "BXDGeno",
- "BXD Genotypes"
- ]
- ],
- "Hippocampus mRNA": [
- [
- "112",
- "HC_M2_0606_P",
- "Hippocampus Consortium M430v2 (Jun06) PDNN"
- ]
- ],
- "Phenotypes": [
- [
- "602",
- "BXDPublish",
- "BXD Published Phenotypes"
- ]
- ]
- }
- }
- },
- "groups": {
- "human": [
- [
- "HLC",
- "Liver: Normal Gene Expression with Genotypes (Merck)",
- "Family:None"
- ]
- ],
- "mouse": [
- [
- "BXD",
- "BXD",
- "Family:None"
- ]
- ]
- },
- "species": [
- [
- "human",
- "Human"
- ],
- [
- "mouse",
- "Mouse"
- ]
- ],
- "types": {
- "human": {
- "HLC": [
- [
- "Phenotypes",
- "Traits and Cofactors",
- "Phenotypes"
- ],
- [
- "Liver mRNA",
- "Liver mRNA",
- "Molecular Trait Datasets"
- ]
- ]
- },
- "mouse": {
- "BXD": [
- [
- "Phenotypes",
- "Traits and Cofactors",
- "Phenotypes"
- ],
- [
- "Genotypes",
- "DNA Markers and SNPs",
- "Genotypes"
- ],
- [
- "Hippocampus mRNA",
- "Hippocampus mRNA",
- "Molecular Trait Datasets"
- ]
- ]
- }
- }
-}
-"""