Skip to content

Commit

Permalink
Enable WHO mask tests on Sable
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Apr 19, 2024
1 parent 0702066 commit bc6ec0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion irctest/controllers/sable.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def run(
.strip(),
services_management_hostname=services_management_hostname,
services_management_port=services_management_port,
services_alias_users=SERVICES_ALIAS_USERS if run_services else ""
services_alias_users=SERVICES_ALIAS_USERS if run_services else "",
)

with self.open_file("configs/network.conf") as fd:
Expand Down
16 changes: 8 additions & 8 deletions irctest/server_tests/who.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _checkReply(self, reply, flags):
class WhoTestCase(BaseWhoTestCase, cases.BaseServerTestCase):
@cases.mark_specifications("Modern")
def testWhoStar(self):
if self.controller.software_name in ("Bahamut", "Sable"):
if self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self._init()
Expand Down Expand Up @@ -118,7 +118,7 @@ def testWhoStar(self):
)
@cases.mark_specifications("Modern")
def testWhoNick(self, mask):
if "*" in mask and self.controller.software_name in ("Bahamut", "Sable"):
if "*" in mask and self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self._init()
Expand Down Expand Up @@ -148,7 +148,7 @@ def testWhoNick(self, mask):
ids=["username", "realname-mask", "hostname"],
)
def testWhoUsernameRealName(self, mask):
if "*" in mask and self.controller.software_name in ("Bahamut", "Sable"):
if "*" in mask and self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self._init()
Expand Down Expand Up @@ -201,7 +201,7 @@ def testWhoRealNameSpaces(self):
)
@cases.mark_specifications("Modern")
def testWhoNickAway(self, mask):
if "*" in mask and self.controller.software_name in ("Bahamut", "Sable"):
if "*" in mask and self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self._init()
Expand Down Expand Up @@ -235,7 +235,7 @@ def testWhoNickAway(self, mask):
)
@cases.mark_specifications("Modern")
def testWhoNickOper(self, mask):
if "*" in mask and self.controller.software_name in ("Bahamut", "Sable"):
if "*" in mask and self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self._init()
Expand Down Expand Up @@ -274,7 +274,7 @@ def testWhoNickOper(self, mask):
)
@cases.mark_specifications("Modern")
def testWhoNickAwayAndOper(self, mask):
if "*" in mask and self.controller.software_name in ("Bahamut", "Sable"):
if "*" in mask and self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self._init()
Expand Down Expand Up @@ -308,7 +308,7 @@ def testWhoNickAwayAndOper(self, mask):
@pytest.mark.parametrize("mask", ["#chan", "#CHAN"], ids=["exact", "casefolded"])
@cases.mark_specifications("Modern")
def testWhoChan(self, mask):
if "*" in mask and self.controller.software_name in ("Bahamut", "Sable"):
if "*" in mask and self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self._init()
Expand Down Expand Up @@ -632,7 +632,7 @@ def testWhoxNoAccount(self):
class WhoInvisibleTestCase(cases.BaseServerTestCase):
@cases.mark_specifications("Modern")
def testWhoInvisible(self):
if self.controller.software_name in ("Bahamut", "Sable"):
if self.controller.software_name in ("Bahamut",):
raise runner.OptionalExtensionNotSupported("WHO mask")

self.connectClient("evan", name="evan")
Expand Down

0 comments on commit bc6ec0e

Please sign in to comment.