From 8701ad7d3fbac2283c709ef160c3111a87ebd6e1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 20 Sep 2025 07:55:45 +0200 Subject: [PATCH] Minor re-arrangement for better readability. --- ircplom/client.py | 7 +++++++ test.txt | 14 +++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ircplom/client.py b/ircplom/client.py index 7df5eaa..ba57891 100644 --- a/ircplom/client.py +++ b/ircplom/client.py @@ -20,6 +20,10 @@ from ircplom.msg_parse_expectations import MSG_EXPECTATIONS _NAMES_DESIRED_SERVER_CAPS = ('sasl',) +class Alert(BaseException): + pass + + class AutoAttrMixin: 'Ensures attribute as defined by annotations along MRO' @@ -321,10 +325,13 @@ class LogScope(Enum): 'Where log messages should go.' ALL = auto() SERVER = auto() + # RAW = auto() + # CHAT = auto() USER = auto() USER_NO_CHANNELS = auto() + # SAME = auto() diff --git a/test.txt b/test.txt index 6f11a41..602bc47 100644 --- a/test.txt +++ b/test.txt @@ -362,13 +362,6 @@ 1,2 $ channels cleared 1,2 $ users cleared -# check that (save TUI tests assuming start on window 0, and no 4 yet) on reconnect, all the same effects can be expected -> /reconnect -repeat 63:65 -3,4,5,6,7 $ CONNECTED -repeat 66:158 -repeat 167:364 - # test setting up second client, but 432 irrecoverably > /connect baz.bar.foo ?foo foo:foo 8,9 $ isupport cleared @@ -396,5 +389,12 @@ repeat 167:364 8,9 $ isupport:USERLEN set to: [10] 8,9 !$ nickname refused for bad format, giving up +# check that (save TUI tests assuming start on window 0, and no 4 yet) on reconnect, all the same effects can be expected +> /reconnect +repeat 63:65 +3,4,5,6,7 $ CONNECTED +repeat 66:158 +repeat 167:364 + > /quit 0 < -- 2.30.2