mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-10-14 17:59:29 +02:00
MoobotFactoids: Don't rely on unspecified order of sqlite3 results. Closes GH-1383.
This commit is contained in:
parent
cf954cf500
commit
3648751911
@ -227,7 +227,9 @@ class FactoidsTestCase(ChannelPluginTestCase):
|
|||||||
self.prefix = userPrefix2
|
self.prefix = userPrefix2
|
||||||
self.assertNotError('mogle is <reply>mo')
|
self.assertNotError('mogle is <reply>mo')
|
||||||
self.assertRegexp('most authored',
|
self.assertRegexp('most authored',
|
||||||
'Most prolific authors:.*moo.*(1).*boo.*(1)')
|
(r'Most prolific authors: .*'
|
||||||
|
r'(moo.*\(1\).*boo.*\(1\)'
|
||||||
|
r'|boo.*\(1\).*moo.*\(1\))'))
|
||||||
self.assertRegexp('most recent',
|
self.assertRegexp('most recent',
|
||||||
"2 latest factoids:.*mogle.*moogle.*")
|
"2 latest factoids:.*mogle.*moogle.*")
|
||||||
self.assertResponse('moogle', 'moo')
|
self.assertResponse('moogle', 'moo')
|
||||||
|
Loading…
Reference in New Issue
Block a user