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 471740b commit 9a83b86Copy full SHA for 9a83b86
tests/test_store/test_zip.py
@@ -22,12 +22,12 @@ class TestZipStore(StoreTests[ZipStore, cpu.Buffer]):
22
store_cls = ZipStore
23
buffer_cls = cpu.Buffer
24
25
- @pytest.fixture
26
- def store_kwargs(self, request) -> dict[str, str | bool]:
+ @pytest.fixture(params=["", "test_path"])
+ def store_kwargs(self, request: pytest.FixtureRequest) -> dict[str, str | bool]:
27
fd, temp_path = tempfile.mkstemp()
28
os.close(fd)
29
30
- return {"file_path": temp_path, "mode": "w", "path": ""}
+ return {"file_path": temp_path, "mode": "w", "path": request.param}
31
32
async def get(self, store: ZipStore, key: str) -> Buffer:
33
return store._get(store.resolve_key(key), prototype=default_buffer_prototype())
0 commit comments