mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Better message for failed assertNoResponse calls.
This commit is contained in:
parent
98a13e267a
commit
ec7644fd2f
@ -192,7 +192,7 @@ class PluginTestCase(unittest.TestCase):
|
||||
|
||||
def assertNoResponse(self, query, timeout=None):
|
||||
m = self._feedMsg(query, timeout)
|
||||
self.failIf(m)
|
||||
self.failIf(m, 'Unexpected response: %s' % msg.args[1])
|
||||
|
||||
def assertResponse(self, query, expectedResponse):
|
||||
m = self._feedMsg(query)
|
||||
|
Loading…
Reference in New Issue
Block a user