Fix python_repl to work for python_requirement_libraries.

Review Request #1934 — Created March 17, 2015 and submitted — Latest diff uploaded

jsirois
pants
jsirois/python_repl/is_py_fix
1270, 1275
15ee191...
pants-reviews
areitz, benjyw, kwlzn, zundel
This also adds a unit test for PythonRepl and knocks off a TODO
lifting up a bit of test infra for PythonTask tests.

 src/python/pants/backend/python/targets/python_requirement_library.py |   1 +
 src/python/pants/backend/python/tasks/python_repl.py                  |   5 +-
 tests/python/pants_test/backend/python/tasks/BUILD                    |  33 +++++++++-
 tests/python/pants_test/backend/python/tasks/python_task_test.py      |  63 +++++++++++++++++++
 tests/python/pants_test/backend/python/tasks/test_python_eval.py      |  50 +--------------
 tests/python/pants_test/backend/python/tasks/test_python_repl.py      | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 270 insertions(+), 53 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/54809259
Loading...