Add LocalSite rooting for the WatchedReviewGroupResource

Review Request #1982 — Created Dec. 7, 2010 and submitted

Information

Review Board
master

Reviewers

Add LocalSite rooting for the WatchedReviewGroupResource

This change adds the local site namespacing and unit tests for watched review
groups.

 
chipx86
  1. 
      
  2. reviewboard/webapi/resources.py (Diff revision 1)
     
     
     
    Pretty sure this will end up modifying kwargs.
    
    >>> a = {'a': 1}
    >>> b = a
    >>> b['b'] = 2
    >>> a
    {'a': 1, 'b': 2}
    
    If we're fine with that, then we may as well modify kwargs directly. Otherwise, probably want to do obj_kwargs = kwargs.copy()
  3. reviewboard/webapi/resources.py (Diff revision 1)
     
     
    I assume this is left over from debugging?
  4. reviewboard/webapi/resources.py (Diff revision 1)
     
     
     
    Same comment here.
  5. 
      
david
Review request changed
chipx86
Loading...