rusackas commented on code in PR #40647:
URL: https://github.com/apache/superset/pull/40647#discussion_r3416916056
##########
tests/integration_tests/email_tests.py:
##########
@@ -37,9 +37,18 @@
class TestEmailSmtp(SupersetTestCase):
+ SMTP_CONFIG_KEYS = ("SMTP_SSL", "SMTP_SSL_SERVER_AUTH", "SMTP_STARTTLS")
+
def setUp(self):
+ self._original_smtp_config = {
+ key: current_app.config[key] for key in self.SMTP_CONFIG_KEYS
+ }
current_app.config["SMTP_SSL"] = False
+ def tearDown(self):
Review Comment:
Good call — added `-> None` to `tearDown` (and `setUp` for consistency) in
the latest push.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]