Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wal-e/wal-e
/ test_defragment
Function
test_defragment
tests/test_bytedeque.py:23–27 ·
view source on GitHub ↗
(bd)
Source
from the content-addressed store, hash-verified
21
22
23
def
test_defragment(bd):
24
bd.add(b
'1'
)
25
bd.add(b
'2'
)
26
27
assert bd.get(2) == bytearray(b
'12'
)
28
29
30
def
test_refragment(bd):
Callers
nothing calls this directly
Calls
2
add
Method · 0.80
get
Method · 0.80
Tested by
no test coverage detected