Add a testcase mixin for avatar services

Review Request #8264 — Created June 30, 2016 and submitted

Information

Review Board
release-3.0.x
4649cf7...

Reviewers

All unit tests that interact with the avatar service registry now
inherit from the AvatarServicesTestMixin, which ensures that the
registry and global SiteConfiguration objects are reset after each unit
test.

Ran unit tests.

Description From Last Updated

'SiteConfiguration' imported but unused

reviewbotreviewbot

'SiteConfiguration' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/avatars/tests.py
        reviewboard/avatars/templatetags/tests.py
        reviewboard/webapi/tests/test_user.py
        reviewboard/avatars/testcase.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/avatars/tests.py
        reviewboard/avatars/templatetags/tests.py
        reviewboard/webapi/tests/test_user.py
        reviewboard/avatars/testcase.py
    
    
  2. Show all issues
     'SiteConfiguration' imported but unused
    
  3. reviewboard/webapi/tests/test_user.py (Diff revision 1)
     
     
    Show all issues
     'SiteConfiguration' imported but unused
    
  4. 
      
brennie
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/avatars/tests.py
        reviewboard/avatars/templatetags/tests.py
        reviewboard/webapi/tests/test_user.py
        reviewboard/avatars/testcase.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/avatars/tests.py
        reviewboard/avatars/templatetags/tests.py
        reviewboard/webapi/tests/test_user.py
        reviewboard/avatars/testcase.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (4001f16)