From 7ce3f07f677372e958995e858a3365af918694f1 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 6 Sep 2017 10:57:45 -0700 Subject: db/message: Try to use the 'Sender' header if the 'From' header is null This makes drafts display correctly. --- tests/db/message_test.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/db') diff --git a/tests/db/message_test.py b/tests/db/message_test.py index a50d943e..4aa88223 100644 --- a/tests/db/message_test.py +++ b/tests/db/message_test.py @@ -78,7 +78,6 @@ class TestMessage(unittest.TestCase): MockNotmuchMessage({'From': '"User Name" '})) self.assertEqual(msg.get_author(), ('User Name', 'user@example.com')) - @unittest.expectedFailure def test_get_author_sender(self): """Message._from is populated using the 'Sender' header when no 'From' header is present. -- cgit v1.2.3