Autocomplete: more readable test failures.

This commit is contained in:
Valentin Lorentz 2020-08-29 18:38:57 +02:00
parent 6f34f377e5
commit d0eb48c90e

View File

@ -50,6 +50,9 @@ class AutocompleteTestCase(PluginTestCase):
def _assertAutocompleteResponse(self, request, expectedResponse): def _assertAutocompleteResponse(self, request, expectedResponse):
self._sendRequest(request) self._sendRequest(request)
m = self.irc.takeMsg() m = self.irc.takeMsg()
self.assertEqual(
m.server_tags["+draft/autocomplete-response"], expectedResponse
)
self.assertEqual( self.assertEqual(
m, m,
ircmsgs.IrcMsg( ircmsgs.IrcMsg(