Make unit tests more resilient with regards to working directory.
Review Request #9895 — Created April 26, 2018 and submitted — Latest diff uploaded
In some cases, a test failure in a test that changes the working
directory or$HOME
in some way would cause all following tests to
fail. This change fixes up various issues that could cause that kind of
pollution, along with some other related tempdir and reviewboardrc
cleanups.Based on work by Joshua Olson at https://reviews.reviewboard.org/r/9654/
Ran unit tests on Python 2.7 and 3.6