Update Review Board to use the new avatar services APIs
Review Request #8480 — Created Oct. 20, 2016 and submitted
This patch updates avatar services tests to use the new avatar services
registry API from r/8479. It also updates the user API and user
datagrid column to use the newerAvatarServicesRegistry.for_user
method to retrieve their preferred avatar service.
- Ran unit tests.
- Verified that avatar configuration still works.
- Verified that avatar admin configuration still works.
-
Tool: Pyflakes Processed Files: reviewboard/avatars/tests.py reviewboard/admin/forms.py reviewboard/webapi/resources/user.py reviewboard/webapi/tests/test_user.py reviewboard/datagrids/columns.py Tool: PEP8 Style Checker Processed Files: reviewboard/avatars/tests.py reviewboard/admin/forms.py reviewboard/webapi/resources/user.py reviewboard/webapi/tests/test_user.py reviewboard/datagrids/columns.py
-
Tool: Pyflakes Processed Files: reviewboard/avatars/tests.py reviewboard/admin/forms.py reviewboard/webapi/resources/user.py reviewboard/webapi/tests/test_user.py reviewboard/datagrids/columns.py Tool: PEP8 Style Checker Processed Files: reviewboard/avatars/tests.py reviewboard/admin/forms.py reviewboard/webapi/resources/user.py reviewboard/webapi/tests/test_user.py reviewboard/datagrids/columns.py