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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
d767346c
Commit
d767346c
authored
Jun 12, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d38c8f8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+12
-1
No files found.
wcfs/wcfs_test.py
View file @
d767346c
...
@@ -1281,11 +1281,22 @@ def test_wcfs():
...
@@ -1281,11 +1281,22 @@ def test_wcfs():
#wl3_.watch(zf, "-") XXX enable
#wl3_.watch(zf, "-") XXX enable
wl2
.
close
()
# wl2 should not be notified because it was closed
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
(
1
,
''
,
{
wl3
:
{},
wl3_
:
{}})
f
.
assertBlk
(
2
,
'5c'
,
{
wl3
:
{},
wl3_
:
{}})
# blk2 already pinned on 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
(
3
,
'5d'
,
{
wl3
:
{
3
:
at2
},
wl3_
:
{}})
# wl3_ not notified
f
.
assertBlk
(
4
,
''
,
{
wl3
:
{},
wl3_
:
{}})
f
.
assertBlk
(
4
,
''
,
{
wl3
:
{},
wl3_
:
{}})
f
.
assertBlk
(
5
,
'4f'
,
{
wl3
:
{},
wl3_
:
{}})
f
.
assertBlk
(
5
,
'4f'
,
{
wl3
:
{},
wl3_
:
{}})
...
...
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