diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index f818888e98690a861228b1f3c0214b1cc94fb6e1..0000000000000000000000000000000000000000 --- a/pytest.ini +++ /dev/null @@ -1,2 +0,0 @@ -[pytest] -testpaths=unittests diff --git a/tox.ini b/tox.ini index 101904b7de43fba6f04cf65641f555d79b0b080a..1be547ece35b39fb5bfd219887fa961dfa92a35c 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