File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -1140,7 +1140,7 @@ jobs:
11401140 uses : actions/checkout@v4
11411141 with :
11421142 path : sable
1143- ref : 52397dc9e0f27c3ed197f984c00f06639870716d
1143+ ref : baed3ef9ac4550dc36a45b758436769e82e8ec58
11441144 repository : Libera-Chat/sable
11451145 - name : Install rust toolchain
11461146 uses : actions-rs/toolchain@v1
Original file line number Diff line number Diff line change 33from irctest .patma import ANYSTR , StrRe
44
55
6+ def _server_info_regexp (case : cases .BaseServerTestCase ) -> str :
7+ if case .controller .software_name == "Sable" :
8+ return ".+"
9+ else :
10+ return "test server"
11+
12+
613class LinksTestCase (cases .BaseServerTestCase ):
714 @cases .mark_specifications ("RFC1459" , "RFC2812" , "Modern" )
815 def testLinksSingleServer (self ):
@@ -56,7 +63,7 @@ def testLinksSingleServer(self):
5663 "nick" ,
5764 "My.Little.Server" ,
5865 "My.Little.Server" ,
59- StrRe ("0 (0042 )?test server " ),
66+ StrRe (f "0 (0042 )?{ _server_info_regexp ( self ) } " ),
6067 ],
6168 )
6269
@@ -119,7 +126,7 @@ def testLinksWithServices(self):
119126 "nick" ,
120127 "My.Little.Server" ,
121128 "My.Little.Server" ,
122- StrRe ("0 (0042 )?test server " ),
129+ StrRe (f "0 (0042 )?{ _server_info_regexp ( self ) } " ),
123130 ],
124131 )
125132 self .assertMessageMatch (
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ software:
249249 name : Sable
250250 repository : Libera-Chat/sable
251251 refs :
252- stable : 52397dc9e0f27c3ed197f984c00f06639870716d
252+ stable : baed3ef9ac4550dc36a45b758436769e82e8ec58
253253 release : null
254254 devel : master
255255 devel_release : null
You can’t perform that action at this time.
0 commit comments