diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/computations/test_rust_correlation.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/unit/computations/test_rust_correlation.py b/tests/unit/computations/test_rust_correlation.py index 67f576f..4763774 100644 --- a/tests/unit/computations/test_rust_correlation.py +++ b/tests/unit/computations/test_rust_correlation.py @@ -37,11 +37,12 @@ def test_generate_input(): def test_json_file(): """test for generating json files """ - tmp_file = generate_json_file(tmp_dir="/tmp/correlation", - tmp_file="/data.txt", - method="pearson", - x_vals="12.1,11.3,16.5,7.5,3.2", - delimiter=",") + tmp_file, _tmp_json_file = generate_json_file( + tmp_dir="/tmp/correlation", + tmp_file="/data.txt", + method="pearson", + x_vals="12.1,11.3,16.5,7.5,3.2", + delimiter=",") with open(tmp_file, "r+", encoding="utf-8") as file_reader: results = json.load(file_reader) |