aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test_partial_correlations.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/test_partial_correlations.py')
-rw-r--r--tests/integration/test_partial_correlations.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/integration/test_partial_correlations.py b/tests/integration/test_partial_correlations.py
index d249b42..e047e3d 100644
--- a/tests/integration/test_partial_correlations.py
+++ b/tests/integration/test_partial_correlations.py
@@ -213,7 +213,7 @@ def test_partial_correlation_api_with_non_existent_control_traits(client, post_d
# traits data set to something we are in control of
)
def test_part_corr_api_with_mix_of_existing_and_non_existing_control_traits(
- db_conn, primary, controls, method, target):
+ db_conn_with_pcorrs_data, primary, controls, method, target):
"""
Check that calling the function with a mix of existing and missing control
traits raises an warning.
@@ -221,4 +221,5 @@ def test_part_corr_api_with_mix_of_existing_and_non_existing_control_traits(
criteria = 10
with pytest.warns(UserWarning):
partial_correlations_entry(
- db_conn, primary, controls, method, criteria, target)
+ db_conn_with_pcorrs_data, primary, controls, method, criteria,
+ target)