Created attachment 134279 [details] [review] Patch which makes the test work The invalid-utf8 test fails with the following output: Traceback (most recent call last): File "/var/tmp/paludis/build/net-im-telepathy-idle-0.2.0-r1/work/telepathy-idle-0.2.0/tests/twisted/idletest.py", line 246, in exec _test_deferred f(queue, bus, conn, server) File "/var/tmp/paludis/build/net-im-telepathy-idle-0.2.0-r1/work/telepathy-idle-0.2.0/tests/twisted/messages/invalid-utf8.py", line 16, in test test_with_message(q, stream, ["I'm no ", " Buddhist"]) File "/var/tmp/paludis/build/net-im-telepathy-idle-0.2.0-r1/work/telepathy-idle-0.2.0/tests/twisted/messages/invalid-utf8.py", line 37, in test_with_message prefix='remoteuser') File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/twisted/words/protocols/irc.py", line 293, in sendMessage line = ' '.join([command] + list(parameter_list)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 8: ordinal not in range(128) FAIL: messages/invalid-utf8.py (1) telepathy-idle-0.2.0 python-2.7.13 Twisted-17.5.0 The attached patch fixes it for me, but I'm not familiar with python and I have no idea if I maybe defeat the purpose of the test.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-idle/issues/53.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.