Files @ b5551ad26fa3
Branch filter:

Location: kallithea/dev_requirements.txt - annotation

Søren Løvborg
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.
1
2
3
4
5
6
pytest ~= 3.0
pytest-runner
pytest-sugar>=0.7.0
pytest-catchlog
mock
sphinx