The python "mock" library is the preferred mocking library for python unittests in the ChromiumOS source. There still exist many tests that use "mox", but "mock" is preferred for all new tests. python-mock is the stand...