aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
authorAlexanderlacuna2020-10-29 15:02:09 +0300
committerAlexanderlacuna2020-10-29 15:02:09 +0300
commita7c4affd6b50b00ab8801b6daa96b07e88034209 (patch)
tree91c5303517e3ab596d75cf84b7ad9a6c82d57479 /wqflask/tests
parentd72f053343292cf52c7f0dbb8eac03b39037cab1 (diff)
downloadgenenetwork2-a7c4affd6b50b00ab8801b6daa96b07e88034209.tar.gz
format file
Diffstat (limited to 'wqflask/tests')
-rw-r--r--wqflask/tests/wqflask/show_trait/test_export_trait_data.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/tests/wqflask/show_trait/test_export_trait_data.py b/wqflask/tests/wqflask/show_trait/test_export_trait_data.py
index 0c280315..adecbf36 100644
--- a/wqflask/tests/wqflask/show_trait/test_export_trait_data.py
+++ b/wqflask/tests/wqflask/show_trait/test_export_trait_data.py
@@ -4,6 +4,7 @@ from wqflask.show_trait.export_trait_data import dict_to_sorted_list
from wqflask.show_trait.export_trait_data import cmp_samples
from wqflask.show_trait.export_trait_data import export_sample_table
+
class TestExportTraits(unittest.TestCase):
"""Test methods related to converting dict to sortedlist"""
@mock.patch("wqflask.show_trait.export_trait_data.dict_to_sorted_list")
@@ -50,7 +51,8 @@ class TestExportTraits(unittest.TestCase):
dict_list.side_effect = [['Sauroniops', 'germanotta'], [3, 6, 1, 4]]
self.assertEqual(export_sample_table(targs_obj), expected)
- exp_metadata.assert_called_with("23177fdc-312e-4084-ad0c-f3eae785fff5", {})
+ exp_metadata.assert_called_with(
+ "23177fdc-312e-4084-ad0c-f3eae785fff5", {})
self.assertEqual(dict_list.call_count, 2)
def test_dict_to_sortedlist(self):