From f52104949516b10fd100fdd7b8f581cbad546db3 Mon Sep 17 00:00:00 2001 From: Bongjin Koo Date: Tue, 17 May 2022 11:01:55 -0700 Subject: [PATCH] Issue #74: Testing test_datasets.py, prefixing CONDA path. --- tests/test_datasets.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_datasets.py b/tests/test_datasets.py index c3cbbec..0420c40 100644 --- a/tests/test_datasets.py +++ b/tests/test_datasets.py @@ -64,7 +64,11 @@ def test_upload_valid(setup, set_file_path): file_exists = False # file_list = os.popen("osf ls") file_list = subprocess.run( - "osf ls", shell=True, text=True, check=True, stdout=subprocess.PIPE + "$CONDA/bin/" + "osf ls", + shell=True, + text=True, + check=True, + stdout=subprocess.PIPE, ).stdout file_list = io.StringIO(file_list) line = file_list.readline()