From 078d6d0c7a1000375e65af7243ef4e03797aaf99 Mon Sep 17 00:00:00 2001 From: Sergey Vanyushkin Date: Tue, 20 Aug 2024 22:37:46 +0000 Subject: [PATCH] ADD session deps, add usecase --- poetry.lock | 30 +++++++++++++++++++++++++++++- pyproject.toml | 2 ++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 779ae2e..cbc717b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -801,6 +801,34 @@ pytest = ">=7.0.0,<9" docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] +[[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-randomly" +version = "3.15.0" +description = "Pytest plugin to randomly order tests and control random.seed." +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest_randomly-3.15.0-py3-none-any.whl", hash = "sha256:0516f4344b29f4e9cdae8bce31c4aeebf59d0b9ef05927c33354ff3859eeeca6"}, + {file = "pytest_randomly-3.15.0.tar.gz", hash = "sha256:b908529648667ba5e54723088edd6f82252f540cc340d748d1fa985539687047"}, +] + +[package.dependencies] +pytest = "*" + [[package]] name = "python-dateutil" version = "2.9.0.post0" @@ -1103,4 +1131,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "be39dd26f8626031b240b1689560c11f563f93fbd2bc5b04a0cdd47c5256bcc6" +content-hash = "aed73a9288bd18429a255d6c28e96681d48e7c8088f86b7ddddbb3ca711b4c44" diff --git a/pyproject.toml b/pyproject.toml index e25b1b1..24a09ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,8 @@ alembic = "^1.13.2" pre-commit = "^3.8.0" pytest = "^8.3.2" pytest-asyncio = "^0.23.8" +pytest-flakefinder = "^1.1.0" +pytest-randomly = "^3.15.0" [build-system] requires = ["poetry-core"]