diff --git a/tests/test_datasets.py b/tests/test_datasets.py index 6346a04..61dfc27 100644 --- a/tests/test_datasets.py +++ b/tests/test_datasets.py @@ -56,7 +56,7 @@ def test_constructor_invalid_because_no_token(): def test_upload_valid(setup, set_file_path): """Test the upload method.""" file_list = subprocess.run( - f"osf ls", shell=True, text=True, capture_output=True + "osf ls", shell=True, text=True, capture_output=True ).stdout print(io.StringIO(file_list).readlines()) @@ -64,7 +64,7 @@ def test_upload_valid(setup, set_file_path): file_exists = False # file_list = os.popen("osf ls") file_list = subprocess.run( - f"osf ls", shell=False, text=True, capture_output=True + "osf lss", shell=True, text=True, capture_output=True ).stdout file_list = io.StringIO(file_list) line = file_list.readline() @@ -117,7 +117,7 @@ def test_remove_valid(setup, set_file_path): file_exists = False # file_list = os.popen("osf ls") file_list = subprocess.run( - f"osf ls", shell=True, text=True, capture_output=True + "osf ls", shell=True, text=True, capture_output=True ).stdout file_list = io.StringIO(file_list) line = file_list.readline()