Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
adab4a66
Commit
adab4a66
authored
Jun 12, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d767346c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+8
-2
No files found.
wcfs/wcfs_test.py
View file @
adab4a66
...
@@ -690,6 +690,12 @@ class tWatchLink:
...
@@ -690,6 +690,12 @@ class tWatchLink:
t
.
_wrx
.
close
()
t
.
_wrx
.
close
()
# disable all established watches
for
w
in
t
.
_watching
.
values
():
w
.
at
=
z64
w
.
pinned
=
{}
t
.
_watching
=
{}
# ---- message IO ----
# ---- message IO ----
...
@@ -1283,8 +1289,8 @@ def test_wcfs():
...
@@ -1283,8 +1289,8 @@ def test_wcfs():
wl2
.
close
()
# wl2 should not be notified because it was closed
wl2
.
close
()
# wl2 should not be notified because it was closed
def
w_assertPin
(
pinw3
):
def
w_assertPin
(
pinw3
):
assert
w3
.
pinned
==
pinw3
assert
w3
.
pinned
==
pinw3
assert
w3_
.
pinned
==
{}
# wl3_ unsubscribed from zf
assert
w3_
.
pinned
==
{}
;
assert
w3_
.
at
==
z64
# wl3_ unsubscribed from zf
assert
w2
.
pinned
==
{}
# wl2 closed
assert
w2
.
pinned
==
{}
;
assert
w2_
.
at
==
z64
# wl2 closed
f
.
assertBlk
(
0
,
''
,
{
wl3
:
{},
wl3_
:
{}})
# no change
f
.
assertBlk
(
0
,
''
,
{
wl3
:
{},
wl3_
:
{}})
# no change
w_assertPin
(
{
2
:
at3
,
5
:
at0
})
w_assertPin
(
{
2
:
at3
,
5
:
at0
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment