Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
def
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
23
def
test_defragment(bd):
Callers
nothing calls this directly
Calls
1
get
Method · 0.80
Tested by
no test coverage detected