We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d00b1f0 commit 8c146e9Copy full SHA for 8c146e9
tests/conftest.py
@@ -68,6 +68,6 @@ def setUp(tmp_path_factory):
68
@pytest.fixture
69
def station():
70
from fogtools.isd import dl_station
71
- with unittest.mock.patch("s3fs.S3FileSystem", autospec=True) as s3:
72
- s3.return_value.open.return_value = io.StringIO(csv_test_content)
+ with unittest.mock.patch("fsspec.open", autospec=True) as fo:
+ fo.return_value.open.return_value = io.StringIO(csv_test_content)
73
return dl_station(2019, "94733099999")
0 commit comments