MCPcopy 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
23def test_defragment(bd):
24 bd.add(b'1')
25 bd.add(b'2')
26
27 assert bd.get(2) == bytearray(b'12')
28
29
30def test_refragment(bd):

Callers

nothing calls this directly

Calls 2

addMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected