aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/wqflask/show_trait/test_show_trait.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/wqflask/tests/wqflask/show_trait/test_show_trait.py b/wqflask/tests/wqflask/show_trait/test_show_trait.py
index 04c68045..f82a4c04 100644
--- a/wqflask/tests/wqflask/show_trait/test_show_trait.py
+++ b/wqflask/tests/wqflask/show_trait/test_show_trait.py
@@ -3,7 +3,7 @@ import unittest
from unittest import mock
from wqflask import app
from wqflask.show_trait.show_trait import check_if_attr_exists
-from wqflask.show_trait.show_trait import get_ncbi_summary
+from wqflask.show_trait.show_trait import get_ncbi_summary
from wqflask.show_trait.show_trait import has_num_cases
from wqflask.show_trait.show_trait import get_table_widths
from wqflask.show_trait.show_trait import get_categorical_variables
@@ -12,6 +12,7 @@ from wqflask.show_trait.show_trait import get_nearest_marker
from wqflask.show_trait.show_trait import get_genotype_scales
from wqflask.show_trait.show_trait import requests
+
class TraitObject:
def __init__(self, obj):
for key, value in obj.items():
@@ -169,9 +170,7 @@ class TestTraits(unittest.TestCase):
"sample_attribute_1": TraitObject({"name": "ex1"}),
"sample_attribute_2": TraitObject({"name": "ex2"}),
"sample_attribute_3": TraitObject({"name": "ex3"}),
- "sample_attribute_4": TraitObject({"name": "not_in_extra_attributes"}),
-
-
+ "sample_attribute_4": TraitObject({"name": "not_in_extra_attributes"})
}})
results = get_categorical_variables(this_trait, sample_list)