mirror of
https://github.com/progval/irctest.git
synced 2025-04-07 15:59:49 +00:00
Add STARTTLS tests.
This commit is contained in:
@ -75,10 +75,13 @@ class MammonController(BaseServerController, DirectoryBasedController):
|
||||
# Mammon does not seem to handle SIGTERM very well
|
||||
self.proc.kill()
|
||||
|
||||
def run(self, hostname, port, password=None, restricted_metadata_keys=(),
|
||||
def run(self, hostname, port, password=None, ssl=False,
|
||||
restricted_metadata_keys=(),
|
||||
valid_metadata_keys=(), invalid_metadata_keys=()):
|
||||
if password is not None:
|
||||
raise NotImplementedByController('PASS command')
|
||||
if ssl:
|
||||
raise NotImplementedByController('SSL')
|
||||
assert self.proc is None
|
||||
self.port = port
|
||||
self.create_config()
|
||||
|
Reference in New Issue
Block a user