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
b57e6ec0
Commit
b57e6ec0
authored
Jun 24, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e9438567
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+13
-2
No files found.
wcfs/wcfs_test.py
View file @
b57e6ec0
...
...
@@ -1358,6 +1358,19 @@ def test_wcfs_watch_setup():
# some watch setup/update requests with explicit pinok (also partly
# verifies how tWatchLink.watch computes automatic pinok)
# new watch setup ø -> at
def
assertNewWatch
(
at
,
pinok
):
wl
=
t
.
openwatch
()
wl
.
watch
(
zf
,
at
,
pinok
)
wl
.
close
()
assertNewWatch
(
at1
,
{
2
:
at1
,
3
:
at0
,
5
:
at0
})
assertNewWatch
(
at2
,
{
2
:
at2
,
3
:
at2
,
5
:
at2
})
assertNewWatch
(
at3
,
{
2
:
at3
,
3
:
at2
,
5
:
at3
})
# XXX recheck 5
assertNewWatch
(
at4
,
{
3
:
at2
})
# XXX 5 not accessed - right?
assertNewWatch
(
at5
,
{
})
# new watch + update at_i -> at_j
wl
=
t
.
openwatch
()
# XXX check @at0 ?
wl
.
watch
(
zf
,
at1
,
{
2
:
at1
,
3
:
at0
,
5
:
at0
})
# -> at1 (new watch) XXX at0 -> ø?
...
...
@@ -1368,8 +1381,6 @@ def test_wcfs_watch_setup():
wl
.
close
()
return
# XXX direct ->at2 ->at3 ->at4 ->at5
# all valid watch setup/update requests going at_i -> at_j -> ... with automatic pinok
for
zf
in
t
.
zfiles
():
for
revv
in
t
.
iter_revv
():
...
...
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