# 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='undef method parameter bug',
    from_='Big Bug bb@bug.com',
    to=('rubymail@ruby-lang.org',),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2010, 2, 19, 10, 8, 29, tzinfo=datetime.timezone(datetime.timedelta(0, 10800))),
    date_str='Fri, 19 Feb 2010 10:08:29 +0300',
    text='foo bar\r\n',
    html='',
    headers={'from': ('Big Bug bb@bug.com',), 'to': ('rubymail@ruby-lang.org',), 'subject': ('undef method parameter bug',), 'date': ('Fri, 19 Feb 2010 10:08:29 +0300',), 'mime-version': ('1.0',), 'content-type': ('Text/Plain; charset="iso-8859-1"',), 'content-transfer-encoding': ('quoted-printable',), 'message-id': ('201002191008.30117.foo.bar@company.com',)},
    attachments=[],
    from_values=EmailAddress('', 'Big Bug bb@bug.com', 'Big Bug bb@bug.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/plain_emails/mix_caps_content_type.py
import datetime
from imap_tools import EmailAddress


DATA = dict(
    subject='undef method parameter bug',
    from_='Big Bug bb@bug.com',
    to=('rubymail@ruby-lang.org',),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2010, 2, 19, 10, 8, 29, tzinfo=datetime.timezone(datetime.timedelta(0, 10800))),
    date_str='Fri, 19 Feb 2010 10:08:29 +0300',
    text='foo bar\r\n',
    html='',
    headers={'from': ('Big Bug bb@bug.com',), 'to': ('rubymail@ruby-lang.org',), 'subject': ('undef method parameter bug',), 'date': ('Fri, 19 Feb 2010 10:08:29 +0300',), 'mime-version': ('1.0',), 'content-type': ('Text/Plain; charset="iso-8859-1"',), 'content-transfer-encoding': ('quoted-printable',), 'message-id': ('201002191008.30117.foo.bar@company.com',)},
    attachments=[],
    from_values=EmailAddress('', 'Big Bug bb@bug.com', 'Big Bug bb@bug.com'),

    to_values=(EmailAddress('', 'rubymail@ruby-lang.org', 'rubymail@ruby-lang.org'),),