Products.statusmessages/master: Fix test to pass on 2.7 as well

Gil Forcada <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: Products.statusmessages
Branch: refs/heads/master
Date: 2017-07-19T23:30:34+02:00
Author: Gil Forcada (gforcada) <[email protected]>
Commit: https://github.com/plone/Products.statusmessages/commit/9ec0ba93f5a82b0e6cfc2bc65ddd8f1f4f0b27c5

Fix test to pass on 2.7 as well

Files changed:
M Products/statusmessages/message.py

diff --git a/Products/statusmessages/message.py b/Products/statusmessages/message.py
index f119899..7df3cb1 100644
--- a/Products/statusmessages/message.py
+++ b/Products/statusmessages/message.py
@@ -53,8 +53,8 @@ class Message:
       >>> status.message.default == 'Default text'
       True
 
-      >>> status.message.domain
-      'test'
+      >>> status.message.domain == u'test'
+      True
 
     """
 



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.