server/scripts: replace ./test with setup.cfg
This commit is contained in:
parent
e490080347
commit
350e9dd331
|
@ -0,0 +1,3 @@
|
||||||
|
[tool:pytest]
|
||||||
|
testpaths=szurubooru
|
||||||
|
addopts=--cov-report=term-missing --cov=szurubooru --tb=short
|
|
@ -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']))
|
|
Loading…
Reference in New Issue