From df626de5ed07cca50a40cc7af21c8008eba05127 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sat, 4 May 2024 16:15:54 +0200 Subject: [PATCH] Enable WHOWAS and USERHOST tests on Sable (#273) It now implements these commands. --- Makefile | 2 +- irctest/server_tests/whowas.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7da1841..dc24586 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ SABLE_SELECTORS := \ and not arbitrary_client_tags \ and not react_tag \ and not private_chathistory \ - and not whowas and not list and not lusers and not userhost and not time and not info \ + and not list and not lusers and not time and not info \ $(EXTRA_SELECTORS) SOLANUM_SELECTORS := \ diff --git a/irctest/server_tests/whowas.py b/irctest/server_tests/whowas.py index 9c02fad..c45f572 100644 --- a/irctest/server_tests/whowas.py +++ b/irctest/server_tests/whowas.py @@ -154,6 +154,9 @@ class WhowasTestCase(cases.BaseServerTestCase): except ConnectionClosed: pass + if self.controller.software_name == "Sable": + time.sleep(1) # may take a little while to record the historical user + self.sendLine(1, whowas_command) messages = self.getMessages(1)