autotest/autotest — pull request #646 by rbbratta (2013-05-17 06:37:33+00:00)
Title: Import mock.py 1.0.1 from http://www.voidspace.org.uk/python/mock/

mock is a library for testing in Python. It allows you to replace parts
of your system under test with mock objects and make assertions about
how they have been used.

mock is now part of the Python standard library, available as
`unittest.mock
`_
in Python 3.3 onwards.

Licensed under BSD-3-Clause.

Justification:

Since this particular mock library has been accepted in upstream Python 3.3 it
reflects community acceptance and suggests we should move towards using
this mock as a standard mock library for unittests.

Signed-off-by: Ross Brattain