forked from mirror/django-mailbox
Use TestCase.skipTest.
This commit is contained in:
parent
63d6dad73e
commit
39b67b8562
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class TestImap(EmailMessageTestCase):
|
|||
None
|
||||
]
|
||||
if not all(required_settings):
|
||||
raise SkipTest(
|
||||
self.skipTest(
|
||||
"Integration tests are not available without having "
|
||||
"the the following environment variables set: "
|
||||
"EMAIL_ACCOUNT, EMAIL_PASSWORD, EMAIL_SMTP_SERVER, "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue