Mikael Koli 3 лет назад
Родитель
Сommit
a912d033e2
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      redmail/test/email/test_structure.py

+ 2 - 6
redmail/test/email/test_structure.py

@@ -18,9 +18,7 @@ def test_empty():
         subject="An example",
     )
     structure = payloads_to_dict(msg)
-    assert structure == {
-        "multipart/mixed": {}
-    }
+    assert structure == {}
 
 def test_text():
 
@@ -33,9 +31,7 @@ def test_text():
     )
     structure = payloads_to_dict(msg)
     assert structure == {
-        "multipart/mixed": {
-            'text/plain': 'Text content\n'
-        }
+        'text/plain': 'Text content\n'
     }
 
 def test_html():