Files @ 7268209e8843
Branch filter:

Location: kallithea/pytest.ini

Mads Kiilerich
middleware: drop special handling of hg RepoError

The 'not found' case should never happen - we check that repo exists before
calling out to hg.

And the Mercurial RepoError handling was muting if *not* 'not found'. That
seems very harmful - better to get a clear error.

We are thus better without the special handling of RepoError.
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