Skip to content
Snippets Groups Projects
Commit 0fb7a7a7 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/btree1: Add testcase for iterating btree object directly.

parent 2f7ebf16
No related branches found
No related tags found
No related merge requests found
......@@ -54,3 +54,6 @@ for k, v in db.items(None, None, btree.DESC):
print(list(db.keys()))
print(list(db.values()))
for k in db:
print(k)
......@@ -27,3 +27,6 @@ KeyError
(b'bar1', b'foo1')
[b'bar1', b'foo1', b'foo3']
[b'foo1', b'bar1', b'bar3']
b'bar1'
b'foo1'
b'foo3'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment