From e3622ac213ef6e1be8a38959f7c6ee082c112c95 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 29 Jul 2022 03:39:32 +0300 Subject: Fix failing tests * gn3/computations/correlations.py: rename function * mypy.ini: deactivate mypy error about missing imports * tests/integration/test_correlation.py: mock correct function * tests/unit/computations/test_correlation.py: test correct function --- 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 d52ab01..c1d518d 100644 --- a/tests/integration/test_correlation.py +++ b/tests/integration/test_correlation.py @@ -12,7 +12,7 @@ class CorrelationIntegrationTest(TestCase): self.app = create_app().test_client() @pytest.mark.integration_test - @mock.patch("gn3.api.correlation.compute_all_sample_correlation") + @mock.patch("gn3.api.correlation.run_sample_corr_cmd") def test_sample_r_correlation(self, mock_compute_samples): """Test /api/correlation/sample_r/{method}""" this_trait_data = { -- cgit v1.2.3