trial_dir: remove files after auto-unmocking stuff.

If a test mocks low level filesystem calls (such as open and listdir),
then rmtree of trial_dir will still use the mocks, resulting in spurious test failures.
Instead, first auto-unmock things, and then do rm_tree.

R=akuegel@chromium.org, akuegel@google.com, phajdan@google.com
CC=iannucci@google.com,pgervais@google.com
BUG=

Review URL: https://codereview.chromium.org/1468983002 .
1 file changed
tree: bb493720b290a83ad78d21279438804a6bf9ac0a
  1. testing_support/
  2. .gitignore
  3. codereview.settings
  4. LICENSE
  5. README.md
  6. 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.