mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Filter: Fix encoding issues in tests.
This commit is contained in:
parent
6e452e0496
commit
be3017f1de
@ -1,3 +1,4 @@
|
||||
# -*- coding: utf8 -*-
|
||||
###
|
||||
# Copyright (c) 2002-2005, Jeremiah Fincher
|
||||
# All rights reserved.
|
||||
@ -96,7 +97,7 @@ class FilterTest(ChannelPluginTestCase):
|
||||
self.assertResponse('rot13 [rot13 %s]' % s, s)
|
||||
|
||||
def testRot13HandlesNonAsciiStuff(self):
|
||||
self.assertNotError('rot13 \xe4')
|
||||
self.assertNotError(u'rot13 é')
|
||||
|
||||
def testHexlifyUnhexlify(self):
|
||||
for s in map(str, range(1000, 1010)):
|
||||
|
Loading…
Reference in New Issue
Block a user