Commit f37901bc authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7221cb5a
......@@ -1222,12 +1222,21 @@ def test_wcfs():
wl3 = t.openwatch(); wl3.watch(zf, at3); assert at3 == t.head
assert set(wl3._watching.keys()) == {zf}
w3 = wl3._watching[zf]
assert w3.foid == zf._p_oid
assert w3.at == at3
assert w3.pinned == {}
wl3_ = t.openwatch(); wl3_.watch(zf, at3)
assert set(wl3_._watching.keys()) == {zf}
w3_ = wl3_._watching[zf]
assert w3_.at == at3
assert w3_.pinned == {}
wl2 = t.openwatch(); wl2.watch(zf, at2)
assert set(wl2._watching.keys()) == {zf}
w2 = wl2._watching[zf]
assert w2.at == at2
assert w2.pinned == {2: at2}
f.assertCache([1,1,1,1])
t.change(zf, { 2: '4c', 5: '4f'}) # FIXME + 4a after δbtree works
at4 = t.commit()
......
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