view pytest.ini @ 8312:31250d5e3c6a

vcs: avoid node base class knowledge of sub classes Pytype very reasonably got confused over the sub class property references in the base class. Fixed by moving base class specific parts of comparison to the sub classes and calling the base class. With .content only referenced in FileNode, there is even less need for an explicitly failing .content getter for DirNode.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 28 Mar 2020 21:21:47 +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