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

Function test_empty

tests/test_bytedeque.py:11–20  ·  view source on GitHub ↗
(bd)

Source from the content-addressed store, hash-verified

9
10
11def test_empty(bd):
12 assert bd.byteSz == 0
13
14 bd.get(0)
15
16 with pytest.raises(AssertionError):
17 bd.get(1)
18
19 with pytest.raises(ValueError):
20 bd.get(-1)
21
22
23def test_defragment(bd):

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected