MCPcopy Create free account
hub / github.com/wal-e/wal-e / test_clear_error

Function test_clear_error

tests/test_prefetch.py:108–111  ·  view source on GitHub ↗
(pd, seg, monkeypatch, raise_eperm)

Source from the content-addressed store, hash-verified

106
107
108def test_clear_error(pd, seg, monkeypatch, raise_eperm):
109 pd.create(seg)
110 monkeypatch.setattr(os, 'rmdir', raise_eperm)
111 pd.clear()

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected