commit | 3bb4723ba5de249411172b63de6112461a8278d1 | [log] [tgz] |
---|---|---|
author | David Sansome <dsansome@google.com> | Tue Sep 08 22:43:42 2015 |
committer | David Sansome <dsansome@google.com> | Tue Sep 08 22:43:42 2015 |
tree | 65725cce3917a1e262be591762b1522da6987664 | |
parent | a6e1c88d2f488f6b3207bf0976d96a76a0b3f44e [diff] |
Don't clobber the PATH environment variable when running git commit. OS X comes with an old version of Python, so we install a newer one in /usr/local/git/bin and add that to the PATH in the build step. The old version that comes with OS X doesn't understand the timezone in GIT_*_DATE environment variables, so always creates commits in the local timezone (US/Pacific). This leads to commits with different hashes to what the test was expecting, causing failures on OS X 10.6 and 10.7: http://build.chromium.org/p/chromium.infra/builders/infra-continuous-mac-10.6-64/builds/3/steps/infra%20python%20tests/logs/stdio BUG= R=vadimsh@chromium.org Review URL: https://codereview.chromium.org/1306033009 .
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.