Commit adab4a66 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d767346c
......@@ -690,6 +690,12 @@ class tWatchLink:
t._wrx.close()
# disable all established watches
for w in t._watching.values():
w.at = z64
w.pinned = {}
t._watching = {}
# ---- message IO ----
......@@ -1283,8 +1289,8 @@ def test_wcfs():
wl2.close() # wl2 should not be notified because it was closed
def w_assertPin(pinw3):
assert w3.pinned == pinw3
assert w3_.pinned == {} # wl3_ unsubscribed from zf
assert w2.pinned == {} # wl2 closed
assert w3_.pinned == {}; assert w3_.at == z64 # wl3_ unsubscribed from zf
assert w2.pinned == {}; assert w2_.at == z64 # wl2 closed
f.assertBlk(0, '', {wl3: {}, wl3_: {}}) # no change
w_assertPin( {2:at3, 5:at0})
......
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