diff --git a/django_mailbox/tests/test_integration_imap.py b/django_mailbox/tests/test_integration_imap.py index e36927c..1b136b9 100644 --- a/django_mailbox/tests/test_integration_imap.py +++ b/django_mailbox/tests/test_integration_imap.py @@ -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, "