aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit
diff options
context:
space:
mode:
authorAlexanderkabui2020-12-12 23:56:26 +0300
committerBonfaceKilz2021-01-06 01:26:38 +0300
commitc3bfc7c07bba06c9334350111df0b9444b85b31b (patch)
tree1f9a001048711680986ec8d9e13832d9b3c33ed0 /wqflask/tests/unit
parentb7e2d17536febbeb47dc91015781cc6fc4647905 (diff)
downloadgenenetwork2-c3bfc7c07bba06c9334350111df0b9444b85b31b.tar.gz
modify tests for calculate correlation results
Diffstat (limited to 'wqflask/tests/unit')
-rw-r--r--wqflask/tests/unit/wqflask/api/test_correlation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/tests/unit/wqflask/api/test_correlation.py b/wqflask/tests/unit/wqflask/api/test_correlation.py
index 9fa848a4..cbcd006d 100644
--- a/wqflask/tests/unit/wqflask/api/test_correlation.py
+++ b/wqflask/tests/unit/wqflask/api/test_correlation.py
@@ -131,7 +131,7 @@ class TestCorrelations(unittest.TestCase):
expected_results={'TT-2': ['GH-2', 3], 'TT-3': ['GH-3', 1], 'TT-1': ['GH-1', 0]}
self.assertTrue(isinstance(sorted_results,OrderedDict))
- self.assertEqual(type(sorted_results),OrderedDict)
+ self.assertEqual(dict(sorted_results),expected_results)