Fix python 3 decode error in zerver/tests.py.

Refer to #256.
This commit is contained in:
Eklavya Sharma
2016-03-14 02:05:13 +05:30
committed by Tim Abbott
parent 186efc6a6d
commit 851b0a871d

View File

@@ -1208,7 +1208,7 @@ class UserPresenceTests(AuthedTestCase):
self.assertEqual(split_email_to_domain(email), 'zulip.com')
class AlertWordTests(AuthedTestCase):
interesting_alert_word_list = ['alert', 'multi-word word', ''.decode("utf-8")]
interesting_alert_word_list = ['alert', 'multi-word word', u'']
def test_internal_endpoint(self):
email = "cordelia@zulip.com"