From ebb29ce03b0cc71e4300d606a5855fc4d2dfd905 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Fri, 9 Dec 2022 10:51:46 +0100 Subject: [PATCH] MAINT: Added xfail_strict option. --- pytest.ini | 2 -- tox.ini | 11 ++++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index f818888e..00000000 --- a/pytest.ini +++ /dev/null @@ -1,2 +0,0 @@ -[pytest] -testpaths=unittests diff --git a/tox.ini b/tox.ini index 101904b7..1be547ec 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py38, py39, py310 +envlist = py38, py39, py310 skip_missing_interpreters = true [testenv] @@ -9,7 +9,12 @@ deps = . # TODO: Make this f-branch sensitive git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev git+https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git@dev -commands= caosdb-crawler --help +commands = caosdb-crawler --help py.test --cov=caosdb -vv {posargs} + [flake8] -max-line-length=100 +max-line-length = 100 + +[pytest] +testpaths = unittests +xfail_strict = True \ No newline at end of file -- GitLab