Files @ ff9eba8e2541
Branch filter:

Location: kallithea/pytest.ini

domruf
localization: set language for formencode based on config file

Before, the language would be taken from the environment - such as LANG. Now it
will use exactly what has been configured as lang in .ini .

The formencode initialization could be done in many places and there is no
obvious place ... but this one seems ok.
1
2
3
4
5
6
7
8
9
[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