From d0eb48c90effe08005104947e43541d83ca446a3 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 29 Aug 2020 18:38:57 +0200 Subject: [PATCH] Autocomplete: more readable test failures. --- plugins/Autocomplete/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/Autocomplete/test.py b/plugins/Autocomplete/test.py index ff44233eb..bb42ff9d0 100644 --- a/plugins/Autocomplete/test.py +++ b/plugins/Autocomplete/test.py @@ -50,6 +50,9 @@ class AutocompleteTestCase(PluginTestCase): def _assertAutocompleteResponse(self, request, expectedResponse): self._sendRequest(request) m = self.irc.takeMsg() + self.assertEqual( + m.server_tags["+draft/autocomplete-response"], expectedResponse + ) self.assertEqual( m, ircmsgs.IrcMsg(