Add get_stats to MemoryBackend and update pytest config
Added get_stats() method for consistency with RedisBackend. Also added httpx and pytest-asyncio as dev dependencies.
This commit is contained in:
@@ -94,12 +94,15 @@ reportMissingImports = false
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
testpaths = ["tests"]
|
||||
addopts = "-v --tb=short"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"fastapi>=0.128.0",
|
||||
"httpx>=0.28.1",
|
||||
"pytest>=9.0.2",
|
||||
"pytest-asyncio>=1.3.0",
|
||||
"uvicorn>=0.40.0",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user