Files @ ea1a656702ab
Branch filter:

Location: kallithea/dev_requirements.txt

Manuel Jacob
api: fix get_changeset() when incomplete raw_id is passed with with_reviews

Previously, ChangesetStatusModel was queried with the raw_id passed as an
argument to the API function. When the raw_id was incomplete (i.e. shortened),
no reviews were found. Using the full raw_id from the changeset instance fixes
that.

Someone might argue that the caller is supposed to pass a full raw_id to the
API function. However, in any case, the return value should not be incomplete
without notice.
1
2
3
4
5
6
7
8
9
pytest >= 4.6.6, < 6.3
pytest-sugar >= 0.9.2, < 0.10
pytest-benchmark >= 3.2.2, < 3.3
pytest-localserver >= 0.5.0, < 0.6
mock >= 3.0.0, < 4.1
Sphinx >= 1.8.0, < 5.2
WebTest >= 2.0.6, < 2.1
isort == 5.1.2
pyflakes == 2.2.0