Used the wrong variable in assertNoResponse.

This commit is contained in:
Jeremy Fincher 2003-10-30 00:12:39 +00:00
parent 138c87f372
commit 2ed2f6a5ff

View File

@ -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)