Remove Ergo-specific mark on channel-rename

This commit is contained in:
2022-04-10 14:52:31 +02:00
parent 397509a282
commit a3f0d42248

View File

@ -5,24 +5,17 @@
from irctest import cases from irctest import cases
from irctest.numerics import ERR_CHANOPRIVSNEEDED from irctest.numerics import ERR_CHANOPRIVSNEEDED
MODERN_CAPS = [
"server-time",
"message-tags",
"batch",
"labeled-response",
"echo-message",
"account-tag",
]
RENAME_CAP = "draft/channel-rename" RENAME_CAP = "draft/channel-rename"
class ChannelRenameTestCase(cases.BaseServerTestCase): class ChannelRenameTestCase(cases.BaseServerTestCase):
"""Basic tests for channel-rename.""" """Basic tests for channel-rename."""
@cases.mark_specifications("Ergo")
def testChannelRename(self): def testChannelRename(self):
self.connectClient("bar", name="bar", capabilities=MODERN_CAPS + [RENAME_CAP]) self.connectClient(
self.connectClient("baz", name="baz", capabilities=MODERN_CAPS) "bar", name="bar", capabilities=[RENAME_CAP], skip_if_cap_nak=True
)
self.connectClient("baz", name="baz")
self.joinChannel("bar", "#bar") self.joinChannel("bar", "#bar")
self.joinChannel("baz", "#bar") self.joinChannel("baz", "#bar")
self.getMessages("bar") self.getMessages("bar")