Enable CAP tests for Sable (#267)

It now implements userhost-in-names and multi-prefix, which these tests depend on
This commit is contained in:
Val Lorentz 2024-04-14 21:07:29 +02:00 committed by GitHub
parent e6dfb87759
commit f4a01cfe49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 9 deletions

View File

@ -1106,7 +1106,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
path: sable path: sable
ref: dcf8b53cac54f460b86861908d36d67969cf1eb2 ref: fe337a036c3ab5f8548e2578b65568e628f4c32f
repository: Libera-Chat/sable repository: Libera-Chat/sable
- name: Install rust toolchain - name: Install rust toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1

View File

@ -56,10 +56,6 @@ class CapTestCase(cases.BaseServerTestCase):
) )
@cases.mark_specifications("IRCv3") @cases.mark_specifications("IRCv3")
@cases.xfailIfSoftware(
["Sable"],
"does not support multi-prefix",
)
def testReqOne(self): def testReqOne(self):
"""Tests requesting a single capability""" """Tests requesting a single capability"""
self.addClient(1) self.addClient(1)
@ -93,7 +89,7 @@ class CapTestCase(cases.BaseServerTestCase):
@cases.mark_specifications("IRCv3") @cases.mark_specifications("IRCv3")
@cases.xfailIfSoftware( @cases.xfailIfSoftware(
["ngIRCd", "Sable"], ["ngIRCd"],
"does not support userhost-in-names", "does not support userhost-in-names",
) )
def testReqTwo(self): def testReqTwo(self):
@ -135,7 +131,7 @@ class CapTestCase(cases.BaseServerTestCase):
@cases.mark_specifications("IRCv3") @cases.mark_specifications("IRCv3")
@cases.xfailIfSoftware( @cases.xfailIfSoftware(
["ngIRCd", "Sable"], ["ngIRCd"],
"does not support userhost-in-names", "does not support userhost-in-names",
) )
def testReqOneThenOne(self): def testReqOneThenOne(self):
@ -187,7 +183,7 @@ class CapTestCase(cases.BaseServerTestCase):
@cases.mark_specifications("IRCv3") @cases.mark_specifications("IRCv3")
@cases.xfailIfSoftware( @cases.xfailIfSoftware(
["ngIRCd", "Sable"], ["ngIRCd"],
"does not support userhost-in-names", "does not support userhost-in-names",
) )
def testReqPostRegistration(self): def testReqPostRegistration(self):

View File

@ -249,7 +249,7 @@ software:
name: Sable name: Sable
repository: Libera-Chat/sable repository: Libera-Chat/sable
refs: refs:
stable: dcf8b53cac54f460b86861908d36d67969cf1eb2 stable: fe337a036c3ab5f8548e2578b65568e628f4c32f
release: null release: null
devel: master devel: master
devel_release: null devel_release: null