home · contact · privacy
Minor re-arrangement for better readability.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 20 Sep 2025 05:55:45 +0000 (07:55 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 20 Sep 2025 05:55:45 +0000 (07:55 +0200)
ircplom/client.py
test.txt

index 7df5eaa62672750356c70c261028b74abfeeb743..ba57891fba535e9aded97de83da65c8321c3bc8d 100644 (file)
@@ -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()
 
 
index 6f11a41c27828c59fd1083350b8606021a5f1494..602bc47e1af23aefd9dbf184a129298793efbb7f 100644 (file)
--- a/test.txt
+++ b/test.txt
 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 <