Commit 64fddd20 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 55498611
...@@ -37,7 +37,7 @@ from wendelin.wcfs.internal import mm ...@@ -37,7 +37,7 @@ from wendelin.wcfs.internal import mm
from pytest import raises from pytest import raises
from golang.golang_test import panics from golang.golang_test import panics
# XXX so that e.g. testdb is set up + ... # so that e.g. testdb is set up + ...
def setup_module(): wcfs_test.setup_module() def setup_module(): wcfs_test.setup_module()
def teardown_module(): wcfs_test.teardown_module() def teardown_module(): wcfs_test.teardown_module()
def setup_function(f): wcfs_test.setup_function(f) def setup_function(f): wcfs_test.setup_function(f)
...@@ -50,8 +50,6 @@ class tMapping(object): ...@@ -50,8 +50,6 @@ class tMapping(object):
t.tdb = tdb t.tdb = tdb
t.mmap = mmap t.mmap = mmap
# XXX assertCache
# assertBlk asserts that mmap[·] with · corresponding to blk reads as dataok. # assertBlk asserts that mmap[·] with · corresponding to blk reads as dataok.
# pinnedOK: {} blk -> rev of t.mmap.fileh.pinned after access. # pinnedOK: {} blk -> rev of t.mmap.fileh.pinned after access.
# #
...@@ -88,8 +86,6 @@ class tMapping(object): ...@@ -88,8 +86,6 @@ class tMapping(object):
assert fhpinned(t.tdb, fh) == pinnedOK assert fhpinned(t.tdb, fh) == pinnedOK
# XXX assertData
# assertBlkFaults asserts that mmap[·] with · corresponding to blk raises # assertBlkFaults asserts that mmap[·] with · corresponding to blk raises
# SIGSEGV on read access. # SIGSEGV on read access.
def assertBlkFaults(t, blk): def assertBlkFaults(t, blk):
...@@ -136,7 +132,6 @@ def test_wcfs_client(): ...@@ -136,7 +132,6 @@ def test_wcfs_client():
tm1 = tMapping(t, m1) tm1 = tMapping(t, m1)
#assertCache(m1, [0,0,0])
assert pinned(fh) == {} assert pinned(fh) == {}
# verify initial data reads # verify initial data reads
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment