zlmdb.tests.lmdb.address_book¶
Test low-level LMDB API (py-lmdb compatibility)
This test is based on the py-lmdb address-book.py example: https://github.com/jnwatson/py-lmdb/blob/master/examples/address-book.py
It demonstrates that zlmdb provides a fully compatible py-lmdb API for direct LMDB access.
Attributes¶
Functions¶
|
Test the complete py-lmdb address-book example workflow. |
|
Test basic LMDB operations through py-lmdb compatible API. |
|
Test cursor operations for iteration and positioning. |
|
Test environment info and statistics. |
Module Contents¶
- test_address_book_example(tmpdir)[source]¶
Test the complete py-lmdb address-book example workflow.
This verifies: - Environment creation with multiple databases - Subdatabase creation - Write transactions - Read transactions - Cursor iteration (sorted keys) - Update operations - Delete operations - Drop database operations