Add auto_stub mocking library.

Copied with minor modification from depot_tools@cd1e3d4 aka r286273.
Removed '__version__' from auto_stub.py since it's now a part of a
bigger versioned package.

R=iannucci@chromium.org, maruel@chromium.org
BUG=

Review URL: https://codereview.chromium.org/424223002
4 files changed
tree: dfcf5a429da63d6d40e6e3ebf0da440a7ee4bb54
  1. testing_support/
  2. .gitignore
  3. codereview.settings
  4. README.md
  5. setup.py
README.md

Testing Support

Utilities to support writing unittests for infra-related tools.

Auto stub

Dead simple mocking framework.

Git

A simple ascii-art-schema-based unittest library. Sets up a real on-disk git repo according to a specified ascii-art representation in a class variable.

See testing_support.git.* docstrings for more info.