Skip to content

Commit b8e6692

Browse files
Altay Sansaltasansal
authored andcommitted
Refactor mock_store to use path parameter in FsspecStore
1 parent 9cfd9b3 commit b8e6692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
def mock_store(tmp_path_factory):
3434
"""Make a mocked MDIO store for writing."""
3535
tmp_dir = tmp_path_factory.mktemp("mdio")
36-
fs = LocalFileSystem(tmp_dir.name)
37-
return FsspecStore(fs)
36+
fs = LocalFileSystem()
37+
return FsspecStore(fs, path=tmp_dir.name)
3838

3939

4040
@pytest.fixture

0 commit comments

Comments
 (0)