mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -141,7 +141,11 @@ class TestEmailSmtp(SupersetTestCase):
|
||||
def test_send_smtp_inline_images(self, mock_send_mime):
|
||||
image = read_fixture("sample.png")
|
||||
utils.send_email_smtp(
|
||||
"to", "subject", "content", app.config, images=dict(blah=image)
|
||||
"to",
|
||||
"subject",
|
||||
"content",
|
||||
app.config,
|
||||
images=dict(blah=image), # noqa: C408
|
||||
)
|
||||
assert mock_send_mime.called
|
||||
call_args = mock_send_mime.call_args[0]
|
||||
|
||||
Reference in New Issue
Block a user