Commit 2ccc85c5 authored by Jim Fulton's avatar Jim Fulton

MappingStorage's isReadOnly method never returns false.

parent fe7e5e3b
......@@ -353,7 +353,7 @@ class UserMethodTests(unittest.TestCase):
An expedient way to create a read-only storage:
>>> db._storage._is_read_only = True
>>> db._storage.isReadOnly = lambda: True
>>> cn = db.open()
>>> cn.isReadOnly()
True
......
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