mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Used the wrong variable in assertNoResponse.
This commit is contained in:
parent
138c87f372
commit
2ed2f6a5ff
@ -217,7 +217,7 @@ class PluginTestCase(unittest.TestCase):
|
|||||||
|
|
||||||
def assertNoResponse(self, query, timeout=None):
|
def assertNoResponse(self, query, timeout=None):
|
||||||
m = self._feedMsg(query, timeout)
|
m = self._feedMsg(query, timeout)
|
||||||
self.failIf(m, 'Unexpected response: %s' % msg.args[1])
|
self.failIf(m, 'Unexpected response: %r' % m)
|
||||||
|
|
||||||
def assertResponse(self, query, expectedResponse):
|
def assertResponse(self, query, expectedResponse):
|
||||||
m = self._feedMsg(query)
|
m = self._feedMsg(query)
|
||||||
|
Loading…
Reference in New Issue
Block a user