Fix running the Review Board test suite using `manage.py test`.

Review Request #8171 — Created May 17, 2016 and submitted

Information

Review Board
release-3.0.x

Reviewers

The recent work to add modern Pipeline support needed to make use of the
flags we had for determining if we're running unit tests, and therefore
needed to move that state setting out of the test runner class and into
the actual test script being executed. The necessary change was made to
tests/runtests.py, but manage.py never got the fix.

We now set the RB_RUNNING_TESTS environment variable in manage.py if we
know we're running the test suite, enabling this script to be used
reliably once again.

Unit tests run with manage.py.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/manage.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/manage.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (bdab9f7)
Loading...