Clean up and consolidate avatar unit tests
Review Request #8528 — Created Nov. 7, 2016 and submitted — Latest diff uploaded
The avatar services tests had a few issues, namely:
- not resetting the registry after test completion;
- templatetag tests being spread out over two files;
- some tests not being updated for the new avatar services API; and
- using improper methods to generate dummy requests.
Some of these issues were causing test failures, while others were more
stylistic issues. All of these issues have been fixed and the avatar
unit tests now all pass.
Ran unit tests.