Fix web API feature tests when running entire suite

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

Information

Review Board
release-3.0.x
699ef8b...

Reviewers

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.

Description From Last Updated

Can we comment this?

daviddavid
david
  1. 
      
  2. reviewboard/webapi/tests/test_base.py (Diff revision 1)
     
     
    Show all issues

    Can we comment this?

  3. 
      
brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (3e4e37d)