• Alexei Svitkine's avatar
    Fix test to work in checkouts not named 'chromium'. · 5d224d98
    Alexei Svitkine authored
    Updates expand_owners_unittest.py to work even if the
    checkout does not begin with a 'chromium' dir.
    
    Note: This does not fix the issue that makes this test
    fail on bots yet and so doesn't re-add it to the list of
    tests ran by metrics_python_tests.py. This is a slightly
    different issue, where on bots, there isn't even a 'src'
    directory, which trips up other assumptions in the test.
    
    Bug: 1126653
    Change-Id: I0f345f3efa3a54b4f7ba08106fd6d08ffbc5345b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505573
    Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
    Auto-Submit: Alexei Svitkine <asvitkine@chromium.org>
    Reviewed-by: default avatarCaitlin Fischer <caitlinfischer@google.com>
    Cr-Commit-Position: refs/heads/master@{#821875}
    5d224d98
expand_owners_unittest.py 19.2 KB