Commit 78d0c2bb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8755a1cf
......@@ -1558,10 +1558,18 @@ def test_wcfs_watch_2files():
f2.assertData(['', 'β3', '', 'x'])
wl = t.openwatch()
wl.watch(zf1, at2, {0:at2})
wl.watch(zf2, at2, {1:at2})
# XXX + access
w1 = wl.watch(zf1, at2, {0:at2})
w2 = wl.watch(zf2, at2, {1:at2})
def w_assertPin(pinw1, pinw2):
assert w1.pinned == pinw1
assert w2.pinned == pinw2
w_assertPin( {0:at2}, {1:at2})
f1.assertBlk(2, 'c3', {wl: {2:at2}})
w_assertPin( {0:at2, 2:at2}, {1:at2})
f2.assertBlk(3, 'δ3', {wl: {3:at2}})
w_assertPin( {0:at2, 2:at2}, {1:at2, 3:at2})
......
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