From f4a01cfe491db6d891a4fd0977f27c5ca5ebaca2 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sun, 14 Apr 2024 21:07:29 +0200 Subject: [PATCH] Enable CAP tests for Sable (#267) It now implements userhost-in-names and multi-prefix, which these tests depend on --- .github/workflows/test-stable.yml | 2 +- irctest/server_tests/cap.py | 10 +++------- workflows.yml | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index fe3ab09..d123c02 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -1106,7 +1106,7 @@ jobs: uses: actions/checkout@v3 with: path: sable - ref: dcf8b53cac54f460b86861908d36d67969cf1eb2 + ref: fe337a036c3ab5f8548e2578b65568e628f4c32f repository: Libera-Chat/sable - name: Install rust toolchain uses: actions-rs/toolchain@v1 diff --git a/irctest/server_tests/cap.py b/irctest/server_tests/cap.py index a1d3dff..05a4aac 100644 --- a/irctest/server_tests/cap.py +++ b/irctest/server_tests/cap.py @@ -56,10 +56,6 @@ class CapTestCase(cases.BaseServerTestCase): ) @cases.mark_specifications("IRCv3") - @cases.xfailIfSoftware( - ["Sable"], - "does not support multi-prefix", - ) def testReqOne(self): """Tests requesting a single capability""" self.addClient(1) @@ -93,7 +89,7 @@ class CapTestCase(cases.BaseServerTestCase): @cases.mark_specifications("IRCv3") @cases.xfailIfSoftware( - ["ngIRCd", "Sable"], + ["ngIRCd"], "does not support userhost-in-names", ) def testReqTwo(self): @@ -135,7 +131,7 @@ class CapTestCase(cases.BaseServerTestCase): @cases.mark_specifications("IRCv3") @cases.xfailIfSoftware( - ["ngIRCd", "Sable"], + ["ngIRCd"], "does not support userhost-in-names", ) def testReqOneThenOne(self): @@ -187,7 +183,7 @@ class CapTestCase(cases.BaseServerTestCase): @cases.mark_specifications("IRCv3") @cases.xfailIfSoftware( - ["ngIRCd", "Sable"], + ["ngIRCd"], "does not support userhost-in-names", ) def testReqPostRegistration(self): diff --git a/workflows.yml b/workflows.yml index a33a96b..c69ddc5 100644 --- a/workflows.yml +++ b/workflows.yml @@ -249,7 +249,7 @@ software: name: Sable repository: Libera-Chat/sable refs: - stable: dcf8b53cac54f460b86861908d36d67969cf1eb2 + stable: fe337a036c3ab5f8548e2578b65568e628f4c32f release: null devel: master devel_release: null