aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/wqflask/show_trait/test_show_trait.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/tests/wqflask/show_trait/test_show_trait.py b/wqflask/tests/wqflask/show_trait/test_show_trait.py
index b18f8d0a..8dbbb77b 100644
--- a/wqflask/tests/wqflask/show_trait/test_show_trait.py
+++ b/wqflask/tests/wqflask/show_trait/test_show_trait.py
@@ -14,8 +14,11 @@ from wqflask.show_trait.show_trait import get_scales_from_genofile
class TraitObject:
def __init__(self, obj):
+ self.distinct_values = []
+ self.id = ""
for key, value in obj.items():
setattr(self, key, value)
+ self.id += str(value)
class TestTraits(unittest.TestCase):