We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8ab936 commit 37aa092Copy full SHA for 37aa092
test/test_async.py
@@ -61,6 +61,13 @@ async def test_ls(fs):
61
assert all([r["size"] == len(REF_CONTENT) for r in res])
62
63
64
+@pytest.mark.parametrize("detail", [False, True])
65
+@pytest.mark.asyncio
66
+async def test_ls_missing(fs, detail):
67
+ with pytest.raises(FileNotFoundError):
68
+ await fs._ls(TEST_ROOT + "/missing", detail=detail)
69
+
70
71
@pytest.mark.asyncio
72
async def test_glob(fs):
73
res = await fs._glob(TEST_ROOT + "/w*")
0 commit comments