Add feature overrides to DVCS webapi tests

Review Request #1382 — Created Sept. 25, 2018 and updated

guest413
Review Board
ebb4f28...
u
I had been running all the unit tests for DVCS-related changes with the
`reviewboard.diffviewer.features.dvcs_feature` enabled view
`settings_local.py`. This had the side effect of enabling the feature
for unit tests that required the feature to be enabled, but as soon as
the feature was disabled those unit tests would fail. Those unit tests
now have proper feature overrides when they are making API calls.

Testing Done:
Ran the unit tests with the DVCS feature disabled.

Reviewed at https://reviews.reviewboard.org/r/10163/


  • 4
  • 0
  • 0
  • 0
  • 4
Description From Last Updated
ok why not guest6634 guest6634
?????? guest8637 guest8637
ok guest8637 guest8637
???????????? guest8637 guest8637
guest413
  1. This is a test

  2. 
      
guest8637
guest8637
  1. 
      
  2. reviewboard/webapi/tests/test_validate_diffcommit.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
  3. 
      
guest8637
  1. 
      
  2. reviewboard/webapi/tests/test_validate_diffcommit.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
  3. 
      
guest6634
  1. 
      
  2. reviewboard/webapi/tests/test_diffcommit.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     

    a large one

  3. 
      
Loading...