Fix names

This commit is contained in:
László Károlyi 2021-03-01 18:15:02 +01:00
parent 09e5e56d48
commit 1d0207f762
Signed by untrusted user: karolyi
GPG Key ID: 2DCAF25E55735BFE
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ class GetMxRecordsTestCase(TestCase):
class SMTPCheckerTest(TestCase):
'Checking the `_SMTPChecker` class functions.'
'Checking the `_SMTPChecker` class methods.'
@patch.object(target=SMTP, attribute='connect')
def test_connect_raises_serverdisconnected(self, mock_connect):
@ -98,7 +98,7 @@ class SMTPCheckerTest(TestCase):
@patch.object(target=SMTP, attribute='connect')
def test_connect_with_error(self, mock_connect):
'Connect raises `SMTPServerDisconnected`.'
'Connect raises `SMTPTemporaryError`.'
checker = _SMTPChecker(
local_hostname='localhost', timeout=5, debug=False,
sender='test@example.com', recip='test@example.com')