commit | 1208413163890b24836e5b3295147bd2b2cc3fb8 | [log] [tgz] |
---|---|---|
author | Andrii Shyshkalov <tandrii@chromium.org> | Mon Nov 23 11:19:58 2015 |
committer | Andrii Shyshkalov <tandrii@chromium.org> | Mon Nov 23 11:19:58 2015 |
tree | bb493720b290a83ad78d21279438804a6bf9ac0a | |
parent | c54003a73affdeb8b0f68b052c641777613ffabb [diff] |
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 .
Utilities to support writing unittests for infra-related tools.
Dead simple mocking framework.
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.