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
dcb0abab
Commit
dcb0abab
authored
Mar 03, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0ef5bb4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
wcfs/client/client_test.py
wcfs/client/client_test.py
+17
-0
No files found.
wcfs/client/client_test.py
View file @
dcb0abab
...
...
@@ -170,3 +170,20 @@ def test_wcfs_client_down_efault():
defer
(
t
.
close
)
pinned
=
lambda
fh
:
fhpinned
(
t
,
fh
)
at1
=
t
.
commit
(
zf
,
{
2
:
'c1'
,
3
:
'd1'
})
wconn
=
t
.
wc
.
connect
(
at1
)
defer
(
wconn
.
close
)
fh
=
wconn
.
open
(
zf
.
_p_oid
)
defer
(
fh
.
close
)
m1
=
fh
.
mmap
(
2
,
3
)
defer
(
m1
.
unmap
)
tm1
=
tMapping
(
t
,
m1
)
tm1
.
assertBlk
(
2
,
'c1'
,
{})
tm1
.
assertBlk
(
3
,
'd1'
,
{})
assert
m1
.
mem
[
0
*
zf
.
blksize
]
==
b'c'
assert
m1
.
mem
[
1
*
zf
.
blksize
]
==
b'd'
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