diff options
author | Frederick Muriuki Muriithi | 2022-03-25 16:13:00 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-03-26 15:04:47 +0300 |
commit | fd39b8ce0ad86c85636a09ca3ac15975fabf776a (patch) | |
tree | 6cd594142b5eea2e1f5ee135b9ee758f81926eda /tests/integration/test_partial_correlations.py | |
parent | 7a93ecb4399241541af56c12247202874fbfe2d9 (diff) | |
download | genenetwork3-fd39b8ce0ad86c85636a09ca3ac15975fabf776a.tar.gz |
Create a fixture for pcorrs datafixture-for-pcorrs
Diffstat (limited to 'tests/integration/test_partial_correlations.py')
-rw-r--r-- | tests/integration/test_partial_correlations.py | 5 |
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) |