flake8
passed.
JSHint
passed.
Review Request #9792 — Created March 15, 2018 and submitted
We had several places in the hosting service code where we served up
lazily-localized strings usingugettext_lazy()
. While this will
normally get turned into a string at some point, it's not correct, and
caused issues in unit tests when assertion messages were added.This adds unit tests to check messages along with assertion types, and
updates the hosting services to useugettext()
for exception messages.
Unit tests pass.
Forgot to
git add
a few lines.
Revision 2 (+115 -75)