From 0e605c49435344237ff258415f960785094928be Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Wed, 17 Feb 2021 16:49:33 +0100 Subject: [PATCH] swapped pytest random plugin to a more activly supported one --- Makefile | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b501f05..d2ccaf5 100644 --- a/Makefile +++ b/Makefile @@ -57,10 +57,10 @@ lint: ## reformat with black and check style with flake8 flake8 --ignore E231,W503,E402 sensospot_data tests test: ## run tests quickly with the default Python - pytest tests -x --disable-warnings --random-order --failed-first + pytest tests -x --disable-warnings --failed-first coverage: ## full test suite, check code coverage and open coverage report - pytest tests --random-order --random-order-bucket=global --cov=sensospot_data + pytest tests --cov=sensospot_data coverage html $(BROWSER) htmlcov/index.html diff --git a/pyproject.toml b/pyproject.toml index 2ed99e9..e4e8ab0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ test = [ "pytest >=4.0.0", "pytest-cov", "pytest-mock", - "pytest-random-order >=1.0.0", + "pytest-randomly >=3.5.0", "tox", ] dev = [