Files @ 52e689b37700
Branch filter:

Location: kallithea/pytest.ini

domruf
tests: use relative path when adding file to git repo (fixes error with newer git versions)

Newer git versions would fail 'git add /path/to/file' with:
fatal: /path/to/file: '/path/to/file' is outside repository
That caused test_push_unlocks_repository_git to fail.

To fix that, use relative instead of absolute path.
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