diff options
author | Frederick Muriuki Muriithi | 2022-05-05 15:19:08 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-05-05 15:19:08 +0300 |
commit | be9d1d4aad720274f6d75345123fae8d6a96bc12 (patch) | |
tree | a0e314b06c4aee746cac71e73c7ff9bc9d2ce0af /tests/integration | |
parent | 3f0b4bf1085f4b28d50318e695da3f2bd739061f (diff) | |
download | genenetwork3-be9d1d4aad720274f6d75345123fae8d6a96bc12.tar.gz |
Extract common error checking. Rename function.
* Extract the common error checking code into a separate function
* Rename the function to make its use clearer
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/test_partial_correlations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/test_partial_correlations.py b/tests/integration/test_partial_correlations.py index d249b42..fc9f64f 100644 --- a/tests/integration/test_partial_correlations.py +++ b/tests/integration/test_partial_correlations.py @@ -3,7 +3,7 @@ from unittest import mock import pytest -from gn3.computations.partial_correlations import partial_correlations_entry +from gn3.computations.partial_correlations import partial_correlations_with_target_db @pytest.mark.integration_test @pytest.mark.parametrize( @@ -220,5 +220,5 @@ def test_part_corr_api_with_mix_of_existing_and_non_existing_control_traits( """ criteria = 10 with pytest.warns(UserWarning): - partial_correlations_entry( + partial_correlations_with_target_db( db_conn, primary, controls, method, criteria, target) |