========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================= test session starts ==========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
platform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.10.12', 'Platform': 'Linux-6.8.0-1026-gke-x86_64-with-glibc2.35', 'Packages': {'pytest': '9.0.3', 'pluggy': '1.6.0'}, 'Plugins': {'metadata': '3.1.1', 'anyio': '4.13.0', 'cov': '7.1.0', 'json-report': '1.5.0'}}
rootdir: /workspace/tinydb
configfile: pytest.ini
plugins: metadata-3.1.1, anyio-4.13.0, cov-7.1.0, json-report-1.5.0
collected 201 items

tests/test_middlewares.py::test_caching PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   [  0%]
tests/test_middlewares.py::test_caching_read PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [  0%]
tests/test_middlewares.py::test_caching_write_many PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [  1%]
tests/test_middlewares.py::test_caching_flush PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [  1%]
tests/test_middlewares.py::test_caching_flush_manually PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [  2%]
tests/test_middlewares.py::test_caching_write PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [  2%]
tests/test_middlewares.py::test_nested PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [  3%]
tests/test_middlewares.py::test_caching_json_write PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [  3%]
tests/test_operations.py::test_delete[memory] PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [  4%]
tests/test_operations.py::test_delete[json] PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               [  4%]
tests/test_operations.py::test_add_int[memory] PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [  5%]
tests/test_operations.py::test_add_int[json] PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [  5%]
tests/test_operations.py::test_add_str[memory] PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [  6%]
tests/test_operations.py::test_add_str[json] PASSED                                                                                                                                                                                                                                                                                                                                                                                                                             <response clipped><NOTE>Due to the max output limit, only part of the full response has been shown to you.</NOTE>                                                                                                                        [ 94%]
tests/test_tinydb.py::test_storage_access PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 [ 95%]
tests/test_tinydb.py::test_lambda_query PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   [ 95%]
tests/test_utils.py::test_lru_cache PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       [ 96%]
tests/test_utils.py::test_lru_cache_set_multiple PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [ 96%]
tests/test_utils.py::test_lru_cache_get PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   [ 97%]
tests/test_utils.py::test_lru_cache_delete PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [ 97%]
tests/test_utils.py::test_lru_cache_clear PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 [ 98%]
tests/test_utils.py::test_lru_cache_unlimited PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [ 98%]
tests/test_utils.py::test_lru_cache_unlimited_explicit PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [ 99%]
tests/test_utils.py::test_lru_cache_iteration_works PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       [ 99%]
tests/test_utils.py::test_freeze PASSED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [100%]

============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================ tests coverage ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ coverage: platform linux, python 3.10.12-final-0 ___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Name                    Stmts   Miss Branch BrPart  Cover
---------------------------------------------------------
tinydb/__init__.py          5      0      0      0   100%
tinydb/database.py         59      0     16      1    99%
tinydb/middlewares.py      33      0      6      0   100%
tinydb/mypy_plugin.py      11     11      0      0     0%
tinydb/operations.py       20      0      0      0   100%
tinydb/queries.py         124      6     24      4    93%
tinydb/storages.py         53      0      6      0   100%
tinydb/table.py           201      4     96      6    97%
tinydb/utils.py            74      2     20      2    96%
tinydb/version.py           1      0      0      0   100%
---------------------------------------------------------
TOTAL                     581     23    168     13    95%
========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================= 201 passed in 0.86s ==========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
[The command completed with exit code 0.]
[Current working directory: /workspace/tinydb]
[Python interpreter: /usr/bin/python]
[Command finished with exit code 0]