From 3b448a26cb1cb08fdeeb3739f9d99a9cbcce2bd2 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Fri, 9 Dec 2022 10:44:04 +0100 Subject: [PATCH] MAINT: Added xfail_strict option. --- pytest.ini | 4 ---- tox.ini | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 529a96a..0000000 --- a/pytest.ini +++ /dev/null @@ -1,4 +0,0 @@ -[pytest] -markers = - local_server: mark a test as requiring a local caosdb server - slow: mark a test as slow (execution regularly takes 5s or longer) diff --git a/tox.ini b/tox.ini index 2b32653..c86b7e5 100644 --- a/tox.ini +++ b/tox.ini @@ -17,3 +17,9 @@ commands_pre=pip install ../caosdb-pylib/ python -c "import caosdb; print(caosdb.version.version)" # Add "-x" to stop at first error. commands=pytest --cov=caosdb -vv {posargs} + +[pytest] +markers = + local_server: mark a test as requiring a local caosdb server + slow: mark a test as slow (execution regularly takes 5s or longer) +xfail_strict = True -- GitLab