Enable expand_owners_unittest.py on the testing bots.
Several of the tests depended on 'src' being a directory in the path to expand_owners_unittest.py. However, on testing bots, this may not be the case. Note that _ExtractComponentViaDirmd() had to be mocked in several tests due to http://crbug.com/1164985. One test was skipped due to this. Also, removed testGetHigherLevelPathGivenPathInSrcDirectory since it assumed 'src' would be in the path. It's okay to remove this because we have a test checking that getting higher-level OWNERS file paths doesn't result in a recursive loop. Bug: 1126653 Change-Id: I5b6d4289dff3b5c9afe0fcc8249328d9059cedc4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622320 Commit-Queue: Caitlin Fischer <caitlinfischer@google.com> Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#844079}
Showing
Please register or sign in to comment