tls -> starttls, to match feature name better

This commit is contained in:
Daniel Oaks 2017-11-02 00:15:30 +00:00
parent 38f7836fa5
commit eda43b3cda

View File

@ -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')