diff --git a/server/setup.cfg b/server/setup.cfg new file mode 100644 index 00000000..7e835b45 --- /dev/null +++ b/server/setup.cfg @@ -0,0 +1,3 @@ +[tool:pytest] +testpaths=szurubooru +addopts=--cov-report=term-missing --cov=szurubooru --tb=short diff --git a/server/test b/server/test deleted file mode 100755 index 69cfe542..00000000 --- a/server/test +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env python3 -import pytest -import sys -pytest.main([ - '--cov-report=term-missing', - '--cov=szurubooru', - '--tb=short', - ] + (sys.argv[1:] or ['szurubooru']))