Add missing testing for the new GitLab API v4 support.

Review Request #1169 — Created April 20, 2018 and updated

guest3409
Review Board
10b5a46...
demo
asasd
Some unit tests were missing from the GitLab API v4 change. We had the
beginnings of a function for checking repositories against the v4 API,
but it never actually performed any checks (and was missing a necessary
part of the payload to make the checks happen).

This fills in the missing logic, and adds a utility function for setting
the API version for a test so spies don't need to be repeated in several
places.

Testing Done:
Unit tests pass.

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


Description From Last Updated

fafafafa

guest2229guest2229

aaaaaaaa

guest5713guest5713

This is a comment

guest4650guest4650

docstring first

guest5302guest5302

comment

guest6025guest6025

should add

guest5302guest5302

long comment

guest6025guest6025

merhaba

guest2229guest2229

Really?

guest5941guest5941

should not delete

guest5302guest5302

????

guest7048guest7048
guest4650
guest2557
  1. 41120452

  2. 
      
guest2557
  1. <del>Ship It!</del>

  2. 
      
guest6025
  1. 
      
  2. reviewboard/hostingsvcs/tests/test_gitlab.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     

    long comment

  3. 
      
guest5941
  1. 
      
  2. reviewboard/hostingsvcs/tests/test_gitlab.py (Diff revision 1)
     
     
     
     
     

    Really?

  3. 
      
guest2229
  1. 
      
  2. fafafafa

  3. 
      
guest2229
guest5713
  1. AAAAAAAAAAA

  2. aaaaaaaa

  3. 
      
guest5302
  1. 
      
  2. reviewboard/hostingsvcs/tests/test_gitlab.py (Diff revision 1)
     
     
     
     
     

    should not delete

  3. 
      
guest2754
  1. Ship It!
  2. 
      
guest5302
  1. 
      
  2. docstring first

  3. 
      
guest7048
guest3672
  1. Ship It!
  2. 
      
Loading...