mirror of
https://github.com/progval/irctest.git
synced 2025-04-05 14:59:49 +00:00
Remove Ergo-specific mark on channel-rename
This commit is contained in:
@ -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")
|
||||||
|
Reference in New Issue
Block a user