Fix problems found when running benchmark_run_unittest.

When the changes to benchmark_run_unittest got committed,
somehow the changes to logger.py did not get committed (adding
Mock functions to logger).  Also, MockMachineManger.AcquireMachine
needs an extra parameter, to match change to
MachineManager.AcquireMachine.  This CL fixes both of those problems.

BUG=None
TEST=Ran unittests successfully after these changes.

Change-Id: I7ae35241ee62ddb484728ffc5c26ea14bc1f7c7f
Reviewed-on: https://chrome-internal-review.googlesource.com/164889
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Commit-Queue: Caroline Tice <cmtice@google.com>
2 files changed