When assertMessageCount() fails, we display the list of messages that
were included in the response. However because the messages are lazily
translated by default, this would fail and show the following error
instead:
TypeError: sequence item 0: expected string, __proxy__ found
Reviewed: https:/ /review. openstack. org/91580 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ed9faf84d18 8fce23c9f5c15f6 56011f544e88af
Committed: https:/
Submitter: Jenkins
Branch: master
commit ed9faf84d188fce 23c9f5c15f65601 1f544e88af
Author: Julie Pichon <email address hidden>
Date: Thu May 1 15:50:32 2014 +0100
Fix unicode error when assertMessageCo unt() fails
When assertMessageCo unt() fails, we display the list of messages that
were included in the response. However because the messages are lazily
translated by default, this would fail and show the following error
instead:
TypeError: sequence item 0: expected string, __proxy__ found
Change-Id: I1d2ed97b66428e 0ee1aac783c8370 ab3ea665b29
Closes-Bug: #1315031