aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorAlexander Kabui2021-04-06 22:54:08 +0300
committerAlexander Kabui2021-04-06 22:54:08 +0300
commita1fcc30e84bd7201c852faf6f6a622face646ef8 (patch)
tree825fd0fa3571c4324c5c3d81dc1f6530e4a42cb1 /tests/integration
parentea610aa797d4c859fa9b9fa59a1eaa86ff7fd41c (diff)
downloadgenenetwork3-a1fcc30e84bd7201c852faf6f6a622face646ef8.tar.gz
fix Docstrings
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/test_correlation.py4
-rw-r--r--tests/integration/test_datasets.py6
2 files changed, 3 insertions, 7 deletions
diff --git a/tests/integration/test_correlation.py b/tests/integration/test_correlation.py
index 488a8a4..bc3f542 100644
--- a/tests/integration/test_correlation.py
+++ b/tests/integration/test_correlation.py
@@ -10,10 +10,6 @@ class CorrelationIntegrationTest(TestCase):
def setUp(self):
self.app = create_app().test_client()
- def test_fail(self):
- """initial method for class that fails"""
- self.assertEqual(2, 2)
-
@mock.patch("gn3.api.correlation.compute_all_sample_correlation")
def test_sample_r_correlation(self, mock_compute_samples):
"""Test /api/correlation/sample_r/{method}"""
diff --git a/tests/integration/test_datasets.py b/tests/integration/test_datasets.py
index 1d72234..34b7669 100644
--- a/tests/integration/test_datasets.py
+++ b/tests/integration/test_datasets.py
@@ -1,4 +1,4 @@
-"""this module contains integration tests for datasets"""
+"""This module contains integration tests for datasets"""
from unittest import TestCase
from unittest import mock
@@ -14,7 +14,7 @@ class DatasetIntegrationTests(TestCase):
@mock.patch("gn3.api.datasets.create_dataset")
def test_create_dataset(self, mock_dataset):
- """test for creating dataset object"""
+ """Test for creating dataset object"""
mock_dataset_creator = namedtuple(
'ProbeSet', ["dataset_name", "dataset_type"])
new_dataset = mock_dataset_creator("HC_M2_0606_P", "ProbeSet")
@@ -29,7 +29,7 @@ class DatasetIntegrationTests(TestCase):
@mock.patch("gn3.api.datasets.get_traits_data")
def test_fetch_traits_data(self, mock_get_trait_data):
- """test api/dataset/fetch_traits_data/d_name/d_type"""
+ """Test api/dataset/fetch_traits_data/d_name/d_type"""
mock_get_trait_data.return_value = {}
response = self.app.get(