From 244180d52f4ace8181bb288e77402c766ad620c1 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Fri, 6 Sep 2019 10:08:19 +0200 Subject: fix display of HTML-only mails "Prefer plain text" should mean just that, and not "ignore HTML even in the absence of a text part". 21c399ee ("Update to new (3.6) email message API", 2018-12-08) had introduced the "ignore" behaviour. Make it "prefer" again. --- tests/db/test_utils.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/db/test_utils.py b/tests/db/test_utils.py index 59a46435..5fe7099f 100644 --- a/tests/db/test_utils.py +++ b/tests/db/test_utils.py @@ -677,7 +677,6 @@ class TestExtractBody(unittest.TestCase): subtype='html') return mail - @unittest.expectedFailure @mock.patch('alot.db.utils.settings.get', mock.Mock(return_value=True)) @mock.patch('alot.db.utils.settings.mailcap_find_match', mock.Mock(return_value=(None, {'view': 'cat'}))) -- cgit v1.2.3