Eliminate use of mox in favor of mock.

Review Request #4143 - Created Aug. 7, 2016 and submitted

Information
John Sirois
pants
jsirois/mox/eliminate
3760
4142
7db40a5...
Reviewers
pants-reviews
kwlzn
3rdparty/python/requirements.txt                |  1 -
 tests/python/pants_test/base/BUILD              |  2 +-
 tests/python/pants_test/base/test_hash_utils.py | 34 +++++++++++----------
 tests/python/pants_test/process/BUILD           |  2 +-
 tests/python/pants_test/process/test_xargs.py   | 81 ++++++++++++++++++++++++++++----------------------
 tests/python/pants_test/util/BUILD              |  1 -
 tests/python/pants_test/util/test_dirutil.py    | 36 ++++++++++------------
 7 files changed, 83 insertions(+), 74 deletions(-)

Locally green:

./pants test \
    tests/python/pants_test/{base:hash_utils,process,util:dirutil}

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

John Sirois
John Sirois
John Sirois
Kris Wilson
John Sirois
Kris Wilson
John Sirois
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Change Summary:

Now on master:

git log -1 origin/master
commit db053de2ad0bb5db0ce12532654c70321ac3e7f3
Author: John Sirois <john.sirois@gmail.com>
Date:   Tue Aug 9 19:25:15 2016 -0600

    Eliminate use of mox in favor of mock.
    
    Testing Done:
    Locally green:
    ```
    ./pants test \
        tests/python/pants_test/{base:hash_utils,process,util:dirutil}
    ```
    
    CI went green here:
      https://travis-ci.org/pantsbuild/pants/builds/151082843
    
    Bugs closed: 3760
    
    Reviewed at https://rbcommons.com/s/twitter/r/4143/
Loading...