# 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='TTT: 1/20.1.UFA Depart',
    from_='bit@ufo.ru',
    to=('aaa@u6.ru', 'Serg@ufo.ru', 'isg@ggg.ru'),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2021, 4, 20, 12, 31, 24, tzinfo=datetime.timezone(datetime.timedelta(0, 18000))),
    date_str='Tue, 20 Apr 2021 12:31:24 +0500',
    text='MVT\r\nU68925/20.VQBCE.UFA\r\nAD0706/0729 EA1029 LBD\r\nDL/0126\r\n',
    html='',
    headers={'date': ('Tue, 20 Apr 2021 12:31:24 +0500',), 'from': ('<bit@ufo.ru>',), 'subject': ('TTT: 1/20.1.UFA Depart',), 'mime-version': ('1.0',), 'message-id': ('<2104200731.1@ufo.ru>',), 'content-transfer-encoding': ('Base64',), 'to': ('<aaa@u6.ru>, <Serg@ufo.ru>, <isg@ggg.ru>',), 'content-type': ('multipart/mixed; charset="utf-8";\r\n\tboundary="96b0f72f_a01e_44f0_8595_352ca3ba6fd4"',)},
    attachments=[],
    from_values=EmailAddress('', 'bit@ufo.ru', 'bit@ufo.ru'),

# 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/InvalidMultipartContentTransferEncodingDefect.py
import datetime
from imap_tools import EmailAddress


DATA = dict(
    subject='TTT: 1/20.1.UFA Depart',
    from_='bit@ufo.ru',
    to=('aaa@u6.ru', 'Serg@ufo.ru', 'isg@ggg.ru'),
    cc=(),
    bcc=(),
    reply_to=(),
    date=datetime.datetime(2021, 4, 20, 12, 31, 24, tzinfo=datetime.timezone(datetime.timedelta(0, 18000))),
    date_str='Tue, 20 Apr 2021 12:31:24 +0500',
    text='MVT\r\nU68925/20.VQBCE.UFA\r\nAD0706/0729 EA1029 LBD\r\nDL/0126\r\n',
    html='',
    headers={'date': ('Tue, 20 Apr 2021 12:31:24 +0500',), 'from': ('<bit@ufo.ru>',), 'subject': ('TTT: 1/20.1.UFA Depart',), 'mime-version': ('1.0',), 'message-id': ('<2104200731.1@ufo.ru>',), 'content-transfer-encoding': ('Base64',), 'to': ('<aaa@u6.ru>, <Serg@ufo.ru>, <isg@ggg.ru>',), 'content-type': ('multipart/mixed; charset="utf-8";\r\n\tboundary="96b0f72f_a01e_44f0_8595_352ca3ba6fd4"',)},
    attachments=[],
    from_values=EmailAddress('', 'bit@ufo.ru', 'bit@ufo.ru'),

    to_values=(EmailAddress('', 'aaa@u6.ru', 'aaa@u6.ru'), EmailAddress('', 'Serg@ufo.ru', 'Serg@ufo.ru'), EmailAddress('', 'isg@ggg.ru', 'isg@ggg.ru')),