mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
d241839cff
* chore:update fakeredis, remove irrelevant tests
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["poetry_core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry]
|
|
name = "dragonfly-fakeredis-tests"
|
|
packages = [
|
|
{ include = "test" },
|
|
]
|
|
version = "0.1.0"
|
|
description = "Tests running against dragonfly and fakeredis to check compatibility"
|
|
authors = [
|
|
"Daniel Moran <daniel@moransoftware.ca>",
|
|
]
|
|
maintainers = [
|
|
"Daniel Moran <daniel@moransoftware.ca>",
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
redis = ">=5"
|
|
fakeredis = { version = "^2.26.1", extras = ["json", "bf", "cf", "lua"] }
|
|
hypothesis = "^6.111"
|
|
pytest = "^8.3"
|
|
pytest-timeout = "^2.3.1"
|
|
pytest-asyncio = "^0.24"
|
|
pytest-cov = "^5.0"
|
|
pytest-mock = "^3.14"
|
|
pytest-html = "^4.1"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
markers = [
|
|
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
"fake: run tests only with fake redis",
|
|
"real: run tests with a locally running real Redis server",
|
|
"disconnected",
|
|
"min_server",
|
|
"max_server",
|
|
"decode_responses",
|
|
"unsupported_server_types",
|
|
]
|
|
asyncio_mode = "strict"
|
|
generate_report_on_test = true
|
|
render_collapsed = "failed,error"
|
|
addopts = [
|
|
"--self-contained-html",
|
|
]
|