Leverage fast_relpath in `BuildFileAddressMapper`.

Review Request #2981 - Created Oct. 16, 2015 and submitted

Information
John Sirois
pants
jsirois/RB/2974/follow-up
2385
2974
34c60a9...
Reviewers
pants-reviews
stuhood
Replace a hand-rolled implementation with the lib.  Also move the test
to be parallel to the code.

 src/python/pants/build_graph/BUILD                                              |  1 +
 src/python/pants/build_graph/build_file_address_mapper.py                       | 17 ++++++++++-------
 tests/python/pants_test/base/BUILD                                              | 10 ----------
 tests/python/pants_test/build_graph/BUILD                                       | 10 ++++++++++
 tests/python/pants_test/build_graph/__init__.py                                 |  0
 tests/python/pants_test/{base => build_graph}/test_build_file_address_mapper.py |  0
 6 files changed, 21 insertions(+), 17 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/85777049
Stu Hood
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...