MCPcopy Index your code
hub / github.com/pyscript/pyscript / test_sync_unmounted_path

Function test_sync_unmounted_path

core/tests/python/tests/test_fs.py:35–40  ·  view source on GitHub ↗

Syncing an unmounted path should raise KeyError with helpful message.

()

Source from the content-addressed store, hash-verified

33
34
35async def test_sync_unmounted_path():
36 """
37 Syncing an unmounted path should raise KeyError with helpful message.
38 """
39 with upytest.raises(KeyError):
40 await fs.sync("/nonexistent")
41
42
43async def test_unmount_unmounted_path():

Callers

nothing calls this directly

Calls 1

syncMethod · 0.80

Tested by

no test coverage detected