test: finalize CI test coverage and fix dependency import path
This commit is contained in:
@@ -114,7 +114,7 @@ def test_smtp_proxy_handler_forwards_message_over_ssl(monkeypatch):
|
||||
assert captured["instance"].logged_in is True
|
||||
assert captured["instance"].sent[0] == "from@example.com"
|
||||
assert captured["instance"].sent[1] == ["to@example.com"]
|
||||
assert b"Subject: Test" in captured["instance"].sent[2]
|
||||
assert "Subject: Test" in captured["instance"].sent[2]
|
||||
|
||||
Settings.BACKEND_SMTP_USE_SSL = previous_ssl
|
||||
Settings.BACKEND_SMTP_USER = previous_user
|
||||
|
||||
Reference in New Issue
Block a user