1
0
Fork 0

Use TestCase.skipTest.

This commit is contained in:
Adam Coddington 2015-07-21 22:52:35 -07:00
parent 63d6dad73e
commit 39b67b8562

View file

@ -30,7 +30,7 @@ class TestImap(EmailMessageTestCase):
None None
] ]
if not all(required_settings): if not all(required_settings):
raise SkipTest( self.skipTest(
"Integration tests are not available without having " "Integration tests are not available without having "
"the the following environment variables set: " "the the following environment variables set: "
"EMAIL_ACCOUNT, EMAIL_PASSWORD, EMAIL_SMTP_SERVER, " "EMAIL_ACCOUNT, EMAIL_PASSWORD, EMAIL_SMTP_SERVER, "