mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
MoobotFactoids: Fix encoding issue in tests.
This commit is contained in:
parent
bc7051e515
commit
5afff1c0d6
@ -264,10 +264,10 @@ class FactoidsTestCase(ChannelPluginTestCase):
|
|||||||
'Key search for "foo" '
|
'Key search for "foo" '
|
||||||
'(2 found): "foo" and "foo\'"')
|
'(2 found): "foo" and "foo\'"')
|
||||||
# Check unicode stuff
|
# Check unicode stuff
|
||||||
self.assertResponse('listkeys Б', 'No keys matching "Б" found.')
|
self.assertResponse(u'listkeys Б', 'No keys matching "Б" found.')
|
||||||
self.assertNotError('АБВГДЕЖ is foo')
|
self.assertNotError(u'АБВГДЕЖ is foo')
|
||||||
self.assertNotError('АБВГДЕЖЗИ is foo')
|
self.assertNotError(u'АБВГДЕЖЗИ is foo')
|
||||||
self.assertResponse('listkeys Б',
|
self.assertResponse(u'listkeys Б',
|
||||||
'Key search for "Б" '
|
'Key search for "Б" '
|
||||||
'(2 found): "АБВГДЕЖ" and "АБВГДЕЖЗИ"')
|
'(2 found): "АБВГДЕЖ" and "АБВГДЕЖЗИ"')
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user