diff --git a/plugins/Alias/test.py b/plugins/Alias/test.py index f481e4493..adfacca23 100644 --- a/plugins/Alias/test.py +++ b/plugins/Alias/test.py @@ -33,6 +33,7 @@ from supybot.test import * import supybot.conf as conf import supybot.plugin as plugin import supybot.registry as registry +from supybot.utils.minisix import u from . import plugin as Alias @@ -128,11 +129,11 @@ class AliasTestCase(ChannelPluginTestCase): self.assertResponse('myre foo bar', 's/foo/bar/g') def testUnicode(self): - self.assertNotError(u'alias add \u200b echo foo') - self.assertResponse(u'\u200b', 'foo') + self.assertNotError(u('alias add \u200b echo foo')) + self.assertResponse(u('\u200b'), 'foo') - self.assertNotError(u'alias add café echo bar') - self.assertResponse(u'café', 'bar') + self.assertNotError('alias add café echo bar') + self.assertResponse('café', 'bar') def testSimpleAliasWithoutArgsImpliesDollarStar(self): self.assertNotError('alias add exo echo')