Update exporter to use WPTGitHub.pr_for_chromium_commit
This is a follow-up to https://crrev.com/c/558200, which replaces corresponding_pull_request_for_commit with WPTGitHub.pr_for_chromium_commit, so that change ID is used first, and position is only used as a backup. This CL also changes MockWPTGitHub and MockChromiumCommit, updates the tests, and adds an ommitted `return` in pr_for_chromium_commit. Change-Id: Iae2c3eaef91d6848deee7091d39ac8298e588c66 Reviewed-on: https://chromium-review.googlesource.com/565923 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by:Jeff Carpenter <jeffcarp@chromium.org> Cr-Commit-Position: refs/heads/master@{#488082}
Showing
Please register or sign in to comment