view .coveragerc @ 6547:36f09fa6446d

tests: don't compare MTIME header of gzip file The gzip header contains a MTIME part (Modification TIME). http://www.zlib.org/rfc-gzip.html Because is takes a little bit of time, from one fill_archive call to the next, this part may differ and fail the test from time to time. So we should not include that part in the comparison.
author domruf <dominikruf@gmail.com>
date Sun, 26 Mar 2017 15:27:16 +0200
parents 7790b34a0cef
children 0acb46763886
line wrap: on
line source

[run]
omit =
    # the bin scripts are not part of the Kallithea web app
    kallithea/bin/*
    # we ship with no active extensions
    kallithea/config/rcextensions/*
    # dbmigrate and paster_commands are not part of the Kallithea web app
    kallithea/lib/dbmigrate/*
    kallithea/lib/paster_commands/*
    # the tests themselves should not be part of the coverage report
    kallithea/tests/*
    # the scm hooks are not run in the kallithea process
    kallithea/config/post_receive_tmpl.py
    kallithea/config/pre_receive_tmpl.py