Files @ 1bdda21f186a
Branch filter:

Location: kallithea/pytest.ini - annotation

Thomas De Schampheleire
repo-scan: don't print empty list of results

If 'gearbox repo-scan' does not add nor remove anything, the output is:

Now scanning root location for new repos ...
Scan completed.
Added: -
Missing: -

These empty lists of results are not very helpful.
Instead, rework the code so that a list of added/removed/missing
repositories is only printed if it actually contains something.
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