[blinkpy] Create new methods to encapsulate updates to expectations
This CL adds new methods to blinkpy's TestExpectation class which extracts and encapsulates logic for adding and removing expectation lines and also updating expectations files after the lines were updated. This removes duplicate logic from several of blinkpy's sub modules. Bug: 986447 Change-Id: Ie8a49dfb98c6553fb224cbfd691238cee6869f66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055892 Commit-Queue: Rakib Hasan <rmhasan@google.com> Reviewed-by:Robert Ma <robertma@chromium.org> Reviewed-by:
Luke Z <lpz@chromium.org> Cr-Commit-Position: refs/heads/master@{#747935}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment