mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 02:54:05 +01:00
SedRegex: Use assertSnarfNoResponse instead of assertNoResponse.
assertNoResponse was only passing by accident on faster machines.
This commit is contained in:
parent
2bbd43fd85
commit
7e48ba0ba8
@ -59,7 +59,7 @@ class SedRegexTestCase(ChannelPluginTestCase):
|
||||
|
||||
def testIgnoreRegexpWithBadCase(self):
|
||||
self.feedMsg('aliens are invading, help!')
|
||||
self.assertNoResponse('S/aliens/monsters/')
|
||||
self.assertSnarfNoResponse('S/aliens/monsters/')
|
||||
|
||||
def testGlobalReplace(self):
|
||||
self.feedMsg('AAaa aaAa a b')
|
||||
@ -145,7 +145,6 @@ class SedRegexTestCase(ChannelPluginTestCase):
|
||||
m = self.getMsg('echo dummy message')
|
||||
# XXX: this is a total hack...
|
||||
for msg in self.irc.state.history:
|
||||
print("Message in history: %s" % msg, end='')
|
||||
self.assertNotIn("cbn't", str(msg))
|
||||
|
||||
def testActionReplace(self):
|
||||
|
Loading…
Reference in New Issue
Block a user