Commit a42ceff4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9b532fd4
......@@ -441,7 +441,8 @@ def test_restructure():
R(z, 'T/B')
assert crack_btree(z) == (BTREE_EMPTY, [], [])
# ø -> T/T/B
# ø -> T/T/B (don't - we don't emit topologies with empty buckets for tests)
"""
z = Z0()
R(z, 'T/T/B')
kind, keys, kids = crack_btree(z)
......@@ -453,8 +454,10 @@ def test_restructure():
assert len(kids) == 1
assert isinstance(kids[0], LOBucket)
assert kids[0].keys() == []
"""
# ø -> T/T-T/B-B
# ø -> T/T-T/B-B (don't - see ^^^)
"""
z = Z0()
R(z, 'T0/T-T/B-B')
kind, keys, kids = crack_btree(z)
......@@ -475,6 +478,7 @@ def test_restructure():
assert len(kids) == 1
assert isinstance(kids[0], LOBucket)
assert crack_bucket(kids[0]) == ([], [])
"""
# tree with one not-yet committed bucket
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment