view pytest.ini @ 7902:37ac2ac0a9ae

scripts/validate-commits: use direct /bin/bash interpreter Use of '#!/bin/bash' vs '#!/usr/bin/env bash' can be argued multiple ways. For example, see: https://stackoverflow.com/questions/21612980/why-is-usr-bin-env-bash-superior-to-bin-bash/21613039 It seems to be more common to use the first approach. And we don't have a specific reason to prefer the latter. Moreover, other scripts in this repo, like 'make-release' and 'whitespacecleanup.sh' use the former too.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sun, 27 Oct 2019 21:01:52 +0100
parents afa5e0bdb76f
children
line wrap: on
line source

[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
    #
    --doctest-modules
    --doctest-ignore-import-errors