-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from demisto/fixed-obj-issue
Fixed an issue where some EML files were incorrectly decoded.
- Loading branch information
Showing
4 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -991,6 +991,7 @@ def test_handle_eml_unknown8bit(): | |
email_parser = EmailParser(file_path='parse_emails/tests/test_data/test-unknown-8bit.eml') | ||
results = email_parser.parse() | ||
assert results['From'] == '[email protected]' | ||
assert results['HeadersMap']['From'] == '"test" <[email protected]>' | ||
|
||
|
||
def test_multipart_eml_with_eml_attachment_containing_html_body(): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters