mirror of https://github.com/progval/irctest.git
tls -> starttls, to match feature name better
This commit is contained in:
parent
38f7836fa5
commit
eda43b3cda
|
@ -16,7 +16,7 @@ class StarttlsFailTestCase(cases.BaseServerTestCase):
|
||||||
self.sendLine(1, 'CAP LS')
|
self.sendLine(1, 'CAP LS')
|
||||||
capabilities = self.getCapLs(1)
|
capabilities = self.getCapLs(1)
|
||||||
if 'tls' not in capabilities:
|
if 'tls' not in capabilities:
|
||||||
raise NotImplementedByController('tls')
|
raise NotImplementedByController('starttls')
|
||||||
|
|
||||||
# TODO: check also without this
|
# TODO: check also without this
|
||||||
self.sendLine(1, 'CAP REQ :tls')
|
self.sendLine(1, 'CAP REQ :tls')
|
||||||
|
@ -42,7 +42,7 @@ class StarttlsTestCase(cases.BaseServerTestCase):
|
||||||
self.sendLine(1, 'CAP LS')
|
self.sendLine(1, 'CAP LS')
|
||||||
capabilities = self.getCapLs(1)
|
capabilities = self.getCapLs(1)
|
||||||
if 'tls' not in capabilities:
|
if 'tls' not in capabilities:
|
||||||
raise NotImplementedByController('tls')
|
raise NotImplementedByController('starttls')
|
||||||
|
|
||||||
# TODO: check also without this
|
# TODO: check also without this
|
||||||
self.sendLine(1, 'CAP REQ :tls')
|
self.sendLine(1, 'CAP REQ :tls')
|
||||||
|
|
Loading…
Reference in New Issue