diff --git a/poetry.lock b/poetry.lock index a31b64734..7c97426f9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -8259,6 +8259,20 @@ pytest = ">=4.6" [package.extras] testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] +[[package]] +name = "pytest-flakefinder" +version = "1.1.0" +description = "Runs tests multiple times to expose flakiness." +optional = false +python-versions = ">=3.5" +files = [ + {file = "pytest-flakefinder-1.1.0.tar.gz", hash = "sha256:e2412a1920bdb8e7908783b20b3d57e9dad590cc39a93e8596ffdd493b403e0e"}, + {file = "pytest_flakefinder-1.1.0-py2.py3-none-any.whl", hash = "sha256:741e0e8eea427052f5b8c89c2b3c3019a50c39a59ce4df6a305a2c2d9ba2bd13"}, +] + +[package.dependencies] +pytest = ">=2.7.1" + [[package]] name = "pytest-instafail" version = "0.5.0" @@ -11971,4 +11985,4 @@ local = ["ctransformers", "llama-cpp-python", "sentence-transformers"] [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "b5bc8889f729816d67f91ac094e93356a99809d9dc9e2dd994469a37ba122447" +content-hash = "0a8488e090f11cb87d8eecc8672afa2d4eeb31f5dc69d131c7a1c1b69ebc74bd" diff --git a/pyproject.toml b/pyproject.toml index 759eef8ac..5c464eeea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,6 +136,7 @@ pre-commit = "^3.7.0" vulture = "^2.11" dictdiffer = "^0.9.0" pytest-split = "^0.9.0" +pytest-flakefinder = "^1.1.0" [tool.poetry.extras] deploy = ["celery", "redis", "flower"] @@ -162,6 +163,8 @@ testpaths = ["tests", "integration"] console_output_style = "progress" filterwarnings = ["ignore::DeprecationWarning", "ignore::ResourceWarning"] log_cli = true +log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)" +log_cli_date_format = "%Y-%m-%d %H:%M:%S" markers = ["async_test", "api_key_required"] diff --git a/src/backend/base/poetry.lock b/src/backend/base/poetry.lock index 7b04d0b43..8ec8168d9 100644 --- a/src/backend/base/poetry.lock +++ b/src/backend/base/poetry.lock @@ -5406,6 +5406,20 @@ pytest = ">=4.6" [package.extras] testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] +[[package]] +name = "pytest-flakefinder" +version = "1.1.0" +description = "Runs tests multiple times to expose flakiness." +optional = false +python-versions = ">=3.5" +files = [ + {file = "pytest-flakefinder-1.1.0.tar.gz", hash = "sha256:e2412a1920bdb8e7908783b20b3d57e9dad590cc39a93e8596ffdd493b403e0e"}, + {file = "pytest_flakefinder-1.1.0-py2.py3-none-any.whl", hash = "sha256:741e0e8eea427052f5b8c89c2b3c3019a50c39a59ce4df6a305a2c2d9ba2bd13"}, +] + +[package.dependencies] +pytest = ">=2.7.1" + [[package]] name = "pytest-instafail" version = "0.5.0" @@ -7544,4 +7558,4 @@ local = [] [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "fe6710d7325bc2cceeaa298d94d6f1157cfe1533c2acbabe3ecdca5594d9e007" +content-hash = "12d207ab2531a201c153cfc0ec800ae9b43c47dd34506f19f7ed97e27c032149" diff --git a/src/backend/base/pyproject.toml b/src/backend/base/pyproject.toml index a8de78d9e..b5278c375 100644 --- a/src/backend/base/pyproject.toml +++ b/src/backend/base/pyproject.toml @@ -119,6 +119,7 @@ vulture = "^2.11" dictdiffer = "^0.9.0" pytest-split = "^0.9.0" devtools = "^0.12.2" +pytest-flakefinder = "^1.1.0" [tool.pytest.ini_options]