Changeset - 08ad393e6866
[Not reviewed]
default
1 1 0
Thomas De Schampheleire - 11 years ago 2015-05-14 21:05:47
thomas.de.schampheleire@gmail.com
tests: move pytest settings from kallithea/tests/pytest.ini to setup.cfg

pytest.ini was added in 9b8ba0f1c87b but didn't work. pytest only uses one
configuration file and does not merge settings from multiple files [1]. The
first detected file is setup.cfg thus should contain all relevant
configuration.

[1] http://pytest.org/latest/customize.html#initialization-determining-rootdir-and-inifile
2 files changed with 6 insertions and 7 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/pytest.ini
Show inline comments
 
deleted file
setup.cfg
Show inline comments
 
@@ -13,6 +13,12 @@ nologcapture = 1
 
[pytest]
 
# only look for tests in kallithea/tests
 
python_files = kallithea/tests/**/test_*.py
 
addopts =
 
    # --verbose
 
    # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings.
 
    -rfEsxXw
 
    # Shorter scrollbacks; less stuff to scroll through
 
    --tb=short
 

	
 
[compile_catalog]
 
domain = kallithea
0 comments (0 inline, 0 general)