Commit d767346c authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d38c8f8e
......@@ -1281,11 +1281,22 @@ def test_wcfs():
#wl3_.watch(zf, "-") XXX enable
wl2.close() # wl2 should not be notified because it was closed
f.assertBlk(0, '', {wl3: {}, wl3_: {}}) # no change
def w_assertPin(pinw3):
assert w3.pinned == pinw3
assert w3_.pinned == {} # wl3_ unsubscribed from zf
assert w2.pinned == {} # wl2 closed
f.assertBlk(0, '', {wl3: {}, wl3_: {}}) # no change
w_assertPin( {2:at3, 5:at0})
f.assertBlk(1, '', {wl3: {}, wl3_: {}})
f.assertBlk(2, '5c', {wl3: {}, wl3_: {}}) # blk2 already pinned on wl3
f.assertBlk(3, '5d', {wl3: {3: at2}, wl3_: {}}) # wl3_ not notified
f.assertBlk(4, '', {wl3: {}, wl3_: {}})
f.assertBlk(5, '4f', {wl3: {}, wl3_: {}})
......
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