Remove pytest helpers where unittest will do.

Review Request #3091 - Created Nov. 6, 2015 and submitted

Information
John Sirois
pants
jsirois/unittest/use-expectedFailure
2516
Reviewers
pants-reviews
gmalmquist
This is a global cleanup.  Some instances of pytest helper use are left
but they either are in tests that use test functions or where there is
no equivalent functionality in unittest(2).

 contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_integration.py  | 42 +++++++++++++++++++-----------------------
 tests/python/pants_test/authentication/test_netrc_util.py                | 16 ++++++++--------
 tests/python/pants_test/backend/codegen/tasks/test_protobuf_parse.py     | 13 ++++++-------
 tests/python/pants_test/backend/python/tasks/checkstyle/test_common.py   | 12 +++++-------
 tests/python/pants_test/base/test_revision.py                            |  4 +---
 tests/python/pants_test/fs/test_safe_filename.py                         |  6 ++----
 tests/python/pants_test/net/http/test_fetcher.py                         | 15 +++++++--------
 tests/python/pants_test/process/test_xargs.py                            |  5 ++---
 tests/python/pants_test/python/test_interpreter_selection_integration.py |  4 +---
 tests/python/pants_test/python/test_python_run_integration.py            |  4 +---
 tests/python/pants_test/scm/test_git.py                                  |  5 ++---
 tests/python/pants_test/targets/test_python_binary.py                    | 10 +++++-----
 tests/python/pants_test/targets/test_sort_targets.py                     |  4 ++--
 tests/python/pants_test/tasks/test_changed_target_integration.py         |  8 +++-----
 tests/python/pants_test/tasks/test_console_task.py                       |  6 ++----
 tests/python/pants_test/tasks/test_jar_publish.py                        |  2 +-
 tests/python/pants_test/tasks/test_list_goals.py                         |  4 ++--
 17 files changed, 69 insertions(+), 91 deletions(-)

Locally vetted with ./pants test-changed.

CI went green here:
https://travis-ci.org/pantsbuild/pants/builds/89726946

Garrett Malmquist
Benjy Weinberger
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...