mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01: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.assertNotError('mogle is <reply>mo')
|
||||
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',
|
||||
"2 latest factoids:.*mogle.*moogle.*")
|
||||
self.assertResponse('moogle', 'moo')
|
||||
|
Loading…
x
Reference in New Issue
Block a user