Mercurial > kallithea
view pytest.ini @ 6492:b5551ad26fa3
vcs: dedup auth code between Hg and Git middleware
There's a lot of verbatim duplicated code in the Hg and Git VCS
middleware. This attempts to deduplicate a bit of it.
The _authorize function is a bit awkward, but for now the goal is simply
to remove duplicated code, not improving program structure and design.
As such, the code in _authorize is almost a verbatim copy of the code
removed in the two controllers.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Wed, 04 Jan 2017 23:01:48 +0100 |
parents | d88077fae3d6 |
children | afa5e0bdb76f |
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