Fix returning lazily-localized strings in hosting service exceptions.

Review Request #9792 — Created March 15, 2018 and submitted

Information

Review Board
release-3.0.x
ea9dcba...

Reviewers

We had several places in the hosting service code where we served up
lazily-localized strings using ugettext_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 use ugettext() for exception messages.

Unit tests pass.

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (8eacb0c)