From 95eb105421d7fbe0b0ebf1de2f89a558eecbf0da Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 11 Aug 2021 09:18:19 +0300 Subject: use normal function for correlation (#34) * use normal function for correlation + rename functions * update test for sample correlation * use normal function for tissue correlation + rename functions--- tests/integration/test_correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration') diff --git a/tests/integration/test_correlation.py b/tests/integration/test_correlation.py index e67f58d..bdd9bce 100644 --- a/tests/integration/test_correlation.py +++ b/tests/integration/test_correlation.py @@ -80,7 +80,7 @@ class CorrelationIntegrationTest(TestCase): self.assertEqual(mock_compute_corr.call_count, 1) self.assertEqual(response.status_code, 200) - @mock.patch("gn3.api.correlation.compute_all_tissue_correlation") + @mock.patch("gn3.api.correlation.compute_tissue_correlation") def test_tissue_correlation(self, mock_tissue_corr): """Test api/correlation/tissue_corr/{corr_method}""" mock_tissue_corr.return_value = {} -- cgit v1.2.3