Fix web API feature tests when running entire suite

Review Request #9178 - Created Sept. 7, 2017 and submitted

Barret Rennie
Review Board
release-3.0.x
699ef8b...
reviewboard

When running the entire RB suite (or more than just
reviewboard.webapi.tests.test_base), the feature unit tests would fail
due to not being able to reverse() URLs for the testing resources.
This was because the URLs were being cached and therefore the lookups
were failing. We now clean the URL cache during these test runs to
ensure they run correctly.

Ran unit tests.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
David Trowbridge
  1. 
      
  2. reviewboard/webapi/tests/test_base.py (Diff revision 1)
     
     

    Can we comment this?

  3. 
      
Barret Rennie
David Trowbridge
  1. Ship It!
  2. 
      
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (3e4e37d)
Loading...