Commit af6e8fe7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0d216b9f
......@@ -240,12 +240,12 @@ def test_bigfile_empty():
fsize1 = fsize
fsize = fsize1 + blksize # we added one more block
st = os.stat(fpath + "/head/data")
st = os.stat(fpath)
assert st.st_size == fsize
#assert st.st_mtime == tidtime(tidlast) FIXME proper sync
assert readfile(fpath + "/head/at") == tidlast.encode("hex")
assert readfile(head + "/at") == tidlast.encode("hex")
data = readfile(fpath + "/head/data")
data = readfile(fpath)
assert len(data) == fsize
for i in range(hole):
assert data[i*blksize:(i+1)*blksize] == b'\0'*blksize
......
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