Make unit tests more resilient with regards to working directory.

Review Request #9895 — Created April 26, 2018 and submitted

Information

RBTools
release-1.0.x
13a3c27...

Reviewers

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

Description From Last Updated

E501 line too long (83 > 79 characters)

reviewbotreviewbot

cwde isn't documented.

chipx86chipx86
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
chipx86
  1. 
      
  2. rbtools/clients/tests/test_bzr.py (Diff revision 2)
     
     

    cwde isn't documented.

  3. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (df22b66)
Loading...