Commit e2eb170c authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cd97de63
......@@ -1214,10 +1214,10 @@ def test_wcfs_basic():
t = tDB(); zf = t.zfile
defer(t.close)
## >>> lookup non-BigFile -> must be rejected
#with raises(OSError) as exc:
# t.wc._stat("head/bigfile/%s" % h(t.nonzfile._p_oid))
#assert exc.value.errno == EINVAL
# >>> lookup non-BigFile -> must be rejected
with raises(OSError) as exc:
t.wc._stat("head/bigfile/%s" % h(t.nonzfile._p_oid))
assert exc.value.errno == EINVAL
# >>> file initially empty
f = t.open(zf)
......
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