You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
By default during tests, the _get_footers_step call will return None for the returned footers because it does not set any test data. This does not match the actual behavior of the recipe because git_footers.py returns an empty json object if the commit message has no footers. This change updates it to return an empty dict instead of None and checks for the cached footers value to be None instead of any non-true value so that a commit message without footers doesn't get parsed multiple times. Change-Id: I716a27e964eb92de138228df5cc0876322d82823 Recipe-Manual-Change: build Recipe-Nontrivial-Roll: build_limited Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4492269 Commit-Queue: Garrett Beaty <gbeaty@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com> |
2 years ago | |
---|---|---|
.. | ||
examples | 2 years ago | |
tests | 2 years ago | |
__init__.py | ||
api.py | 2 years ago | |
test_api.py |