Skip to content

Commit

Permalink
Issue #74: Testing test_datasets.py, prefixing CONDA path.
Browse files Browse the repository at this point in the history
  • Loading branch information
bongjinkoo committed May 17, 2022
1 parent b334dfa commit f521049
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f521049

Please sign in to comment.