Linting error

This commit is contained in:
Trenton H 2024-06-28 10:20:35 -07:00
parent 60d4aae1ea
commit 3b18b4a2fa

View File

@ -106,7 +106,7 @@ class TestEmailMetadataExtraction:
- A log warning should be generated
"""
# Validate if warning is logged when parsing fails
assert [] == mail_parser.extract_metadata("na", "message/rfc822")
assert mail_parser.extract_metadata("na", "message/rfc822") == []
assert len(caplog.records) == 1
record = caplog.records[0]