• 
      

    Add a unit test for API root caching.

    Review Request #4109 — Created May 6, 2013 and submitted

    Information

    Review Board
    master

    Reviewers

    Add a unit test for API root caching.
    
    This adds a unit test to make sure that caching of uri_templates in the API root
    takes into account the correct local site.
    
    See http://reviews.reviewboard.org/r/4107/ for the actual fix.
    Ran all tests.
    
    Before the djblets change, the new test failed. After, it succeeds.
    Description From Last Updated

    Col: 80 E501 line too long (94 > 79 characters)

    reviewbot reviewbot

    Col: 80 E501 line too long (80 > 79 characters)

    reviewbot reviewbot

    Col: 80 E501 line too long (94 > 79 characters)

    reviewbot reviewbot

    Col: 5 E303 too many blank lines (3)

    reviewbot reviewbot

    Col: 80 E501 line too long (94 > 79 characters)

    reviewbot reviewbot

    Col: 80 E501 line too long (94 > 79 characters)

    reviewbot reviewbot
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
          reviewboard/webapi/tests.py
        Ignored Files:
          reviewboard/site/fixtures/test_site.json
      
      
    2. reviewboard/webapi/tests.py (Diff revision 1)
       
       
      Show all issues
      Col: 80
       E501 line too long (94 > 79 characters)
      
    3. reviewboard/webapi/tests.py (Diff revision 1)
       
       
      Show all issues
      Col: 80
       E501 line too long (80 > 79 characters)
      
    4. reviewboard/webapi/tests.py (Diff revision 1)
       
       
      Show all issues
      Col: 80
       E501 line too long (94 > 79 characters)
      
    5. reviewboard/webapi/tests.py (Diff revision 1)
       
       
      Show all issues
      Col: 5
       E303 too many blank lines (3)
      
    6. 
        
    david
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
          reviewboard/webapi/tests.py
        Ignored Files:
          reviewboard/site/fixtures/test_site.json
      
      
    2. reviewboard/webapi/tests.py (Diff revision 2)
       
       
      Show all issues
      Col: 80
       E501 line too long (94 > 79 characters)
      
    3. reviewboard/webapi/tests.py (Diff revision 2)
       
       
      Show all issues
      Col: 80
       E501 line too long (94 > 79 characters)
      
    4. 
        
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-1.7.x (547e1a0).