aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-11-23 12:34:44 +0300
committerFrederick Muriuki Muriithi2021-11-23 12:34:44 +0300
commitdf4ed9183f3efd89d54bba1a144c48475f4b8169 (patch)
tree4de20fefe37d9f28030d1e7795888e4676e4438a /tests
parent845ab7696cdd7c7b2cdbd9b2b7f6b0a537d81117 (diff)
downloadgenenetwork3-df4ed9183f3efd89d54bba1a144c48475f4b8169.tar.gz
Fix a myriad of linting errors
* Fix linting errors like: - Unused variables - Undeclared variable errors (mostly caused by typos, and wrong names) - Missing documentation strings for functions etc.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/db/test_correlation.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/db/test_correlation.py b/tests/unit/db/test_correlation.py
index 866d28d..3f940b2 100644
--- a/tests/unit/db/test_correlation.py
+++ b/tests/unit/db/test_correlation.py
@@ -13,6 +13,9 @@ class TestCorrelation(TestCase):
maxDiff = None
def test_build_query_sgo_lit_corr(self):
+ """
+ Test that the literature correlation query is built correctly.
+ """
self.assertEqual(
build_query_sgo_lit_corr(
"Probeset",
@@ -51,6 +54,9 @@ class TestCorrelation(TestCase):
2))
def test_build_query_tissue_corr(self):
+ """
+ Test that the tissue correlation query is built correctly.
+ """
self.assertEqual(
build_query_tissue_corr(
"Probeset",