mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Karma: Fix tests.
This commit is contained in:
parent
d13015dfb5
commit
0595489166
@ -197,12 +197,12 @@ class KarmaTestCase(ChannelPluginTestCase):
|
||||
karma.response.setValue(True)
|
||||
karma.allowUnaddressedKarma.setValue(True)
|
||||
for m in ('++', '--'):
|
||||
self.assertRegexp('foo%s' % m, 'operation')
|
||||
self.assertSnarfRegexp('foo%s' % m, 'operation')
|
||||
self.assertRegexp('foo%s' % m, 'is now')
|
||||
self.assertSnarfRegexp('foo%s' % m, 'is now')
|
||||
#self.assertNoResponse('foo bar%s' % m)
|
||||
#self.assertSnarfNoResponse('foo bar%s' % m)
|
||||
self.assertRegexp('(foo bar)%s' % m, 'operation')
|
||||
self.assertSnarfRegexp('(foo bar)%s' % m, 'operation')
|
||||
self.assertRegexp('(foo bar)%s' % m, 'is now')
|
||||
self.assertSnarfRegexp('(foo bar)%s' % m, 'is now')
|
||||
finally:
|
||||
karma.response.setValue(resp)
|
||||
karma.allowUnaddressedKarma.setValue(unaddressed)
|
||||
|
Loading…
Reference in New Issue
Block a user