Utilities: Fix encoding in tests.

This commit is contained in:
Valentin Lorentz 2013-01-21 21:09:50 +01:00
parent 76a091db50
commit c9b6b56244

View File

@ -1,3 +1,4 @@
# -*- coding: utf8 -*-
###
# Copyright (c) 2002-2004, Jeremiah Fincher
# All rights reserved.
@ -45,8 +46,8 @@ class UtilitiesTestCase(PluginTestCase):
def testEcho(self):
self.assertHelp('echo')
self.assertResponse('echo foo', 'foo')
self.assertResponse('echo 好', '')
self.assertResponse('echo ""', '')
self.assertResponse(u'echo 好', '')
self.assertResponse(u'echo ""', '')
def testEchoDollarOneRepliesDollarOne(self):
self.assertResponse('echo $1', '$1')