# Path: imap_tools/utils.py
# class EmailAddress:
#     """Parsed email address info"""
#     __slots__ = 'name', 'email', 'full'
# 
#     def __init__(self, name: str, email: str, full: str):
#         self.name = name
#         self.email = email
#         self.full = full
# 
#     def __repr__(self):
#         return "{}(name={}, email={}, full={})".format(
#             self.__class__.__name__, repr(self.name), repr(self.email), repr(self.full))
# 
#     def __eq__(self, other):
#         return all(getattr(self, i) == getattr(other, i) for i in self.__slots__)


import datetime
from imap_tools import EmailAddress

DATA = dict(
    subject='Redacted',
    from_='redacted@example.com',
    to=('redacted@example.com',),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2002, 1, 22, 14, 35, 28, tzinfo=datetime.timezone.utc),
    date_str='Tue, 22 Jan 2002 14:35:28 UT',
    text='',
    html='',
    headers={'message-id': ('<200201221435.g0MEZP927213@mailman.enron.com>',), 'content-type': ('multipart/related; boundary="_----------=_10117101281980"',), 'mime-version': ('1.0',), 'date': ('Tue, 22 Jan 2002 14:35:28 UT',), 'subject': ('Redacted',), 'to': ('redacted@example.com',), 'from': ('redacted@example.com',), 'return-path': ('redacted@example.com',)},
    attachments=[],
    from_values=EmailAddress('', 'redacted@example.com', 'redacted@example.com'),

# Path: imap_tools/utils.py
# class EmailAddress:
#     """Parsed email address info"""
#     __slots__ = 'name', 'email', 'full'
# 
#     def __init__(self, name: str, email: str, full: str):
#         self.name = name
#         self.email = email
#         self.full = full
# 
#     def __repr__(self):
#         return "{}(name={}, email={}, full={})".format(
#             self.__class__.__name__, repr(self.name), repr(self.email), repr(self.full))
# 
#     def __eq__(self, other):
#         return all(getattr(self, i) == getattr(other, i) for i in self.__slots__)


# Path: tests/messages_data/error_emails/missing_content_disposition.py
import datetime
from imap_tools import EmailAddress


DATA = dict(
    subject='Redacted',
    from_='redacted@example.com',
    to=('redacted@example.com',),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2002, 1, 22, 14, 35, 28, tzinfo=datetime.timezone.utc),
    date_str='Tue, 22 Jan 2002 14:35:28 UT',
    text='',
    html='',
    headers={'message-id': ('<200201221435.g0MEZP927213@mailman.enron.com>',), 'content-type': ('multipart/related; boundary="_----------=_10117101281980"',), 'mime-version': ('1.0',), 'date': ('Tue, 22 Jan 2002 14:35:28 UT',), 'subject': ('Redacted',), 'to': ('redacted@example.com',), 'from': ('redacted@example.com',), 'return-path': ('redacted@example.com',)},
    attachments=[],
    from_values=EmailAddress('', 'redacted@example.com', 'redacted@example.com'),

    to_values=(EmailAddress('', 'redacted@example.com', 'redacted@example.com'),),