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
3025a620
Commit
3025a620
authored
Jun 12, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
85acf6d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+8
-6
No files found.
wcfs/wcfs_test.py
View file @
3025a620
...
...
@@ -1237,7 +1237,7 @@ def test_wcfs():
# commit again:
# - block is already pinned (#2) -> not notified
# - wlink closed -> watch no longer notified this
# - wlink closed
(wl2)
-> watch no longer notified this
f
.
assertCache
([
1
,
1
,
1
,
1
,
1
,
1
])
t
.
change
(
zf
,
{
2
:
'5c'
,
3
:
'5d'
})
at5
=
t
.
commit
()
...
...
@@ -1245,11 +1245,13 @@ def test_wcfs():
t
.
dump_history
()
wl2
.
close
()
f
.
assertBlk
(
0
,
''
,
{
wl1
:
{},
wl2
:
{}})
# no change
f
.
assertBlk
(
1
,
''
,
{
wl1
:
{},
wl2
:
{}})
f
.
assertBlk
(
2
,
'5c'
,
{
wl1
:
{},
wl2
:
{}})
# blk2 already pinned on wl1 XXX wl2 = ?
f
.
assertBlk
(
3
,
'5d'
,
{
wl1
:
{
3
:
at2
},
wl2
:
{}})
# wl2 not notified, because it was closed
wl2
.
close
()
# wl2 should not be notified because it was closed
f
.
assertBlk
(
0
,
''
,
{
wl1
:
{}})
# no change
f
.
assertBlk
(
1
,
''
,
{
wl1
:
{}})
f
.
assertBlk
(
2
,
'5c'
,
{
wl1
:
{}})
# blk2 already pinned on wl1
f
.
assertBlk
(
3
,
'5d'
,
{
wl1
:
{
3
:
at2
}})
f
.
assertBlk
(
4
,
''
,
{
wl1
:
{}})
f
.
assertBlk
(
5
,
'4f'
,
{
wl1
:
{}})
# XXX watch with at="-" -> watch no longer notified this
...
...
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