Files @ c436f337e253
Branch filter:

Location: kallithea/pytest.ini

Søren Løvborg
paster: add informational/dummy "upgrade-db" command

The command is placed kallithea.lib.dbmigrate:UpgradeDb (which was the
location of the old command, too), to ensure that "paster upgrade-db"
continues to work, even if Kallithea is installed in "editable" mode
(setup.py develop/pip install -e) and package metadata has not been
updated (and also to prevent issues caused by stale .pyc files).
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