← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1315031] [NEW] Unicode error when assertMessageCount() fails

 

Public bug reported:

If setting assertMessageCount() to the wrong count (for instance,
assertMessageCount(res, error=2) when only 1 message is expected), it
fails with the following error:

  File "/home/jpichon/devel/horizon/horizon/test/helpers.py", line 166, in assertMessageCount
    ", ".join(msgs))
 TypeError: sequence item 0: expected string, __proxy__ found

** Affects: horizon
     Importance: Low
     Assignee: Julie Pichon (jpichon)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1315031

Title:
  Unicode error when assertMessageCount() fails

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  If setting assertMessageCount() to the wrong count (for instance,
  assertMessageCount(res, error=2) when only 1 message is expected), it
  fails with the following error:

    File "/home/jpichon/devel/horizon/horizon/test/helpers.py", line 166, in assertMessageCount
      ", ".join(msgs))
   TypeError: sequence item 0: expected string, __proxy__ found

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1315031/+subscriptions


Follow ups

References