# Path: email_parser/config.py
# def init(*,
#          _paths=_default_paths,
#          _pattern=_default_pattern,
#          _base_img_path=_default_base_img_path,
#          _rtl_locales=_default_rtl,
#          _lang_mappings=_default_lang_mappings):
# 
# Path: email_parser/model.py
# class EmailType(Enum):
#     marketing = 'marketing'
#     transactional = 'transactional'


import os
import email_parser
from unittest import TestCase
from unittest.mock import patch
from email_parser import config
from email_parser.model import EmailType
                'name': 'content',
                'type': 'text',
                'variants': {
                    'B': 'Awesome content'
                }
            },
            'image': {
                'content': '![Alt text](/path/to/img.jpg)',
                'is_global': False,
                'name': 'image',
                'type': 'text',
                'variants': {}
            },
            'image_absolute': {
                'content': '![Alt text](http://path.com/to/{link_locale}/img.jpg)',
                'is_global': False,
                'name': 'image_absolute',
                'type': 'text',
                'variants': {}
            },
            'inline': {
                'content': 'Dummy inline',
                'is_global': False,
                'name': 'inline',
                'type': 'raw',
                'variants': {}
            },
            'subject': {
                'content': 'Dummy subject',
                'is_global': False,

# Path: email_parser/config.py
# def init(*,
#          _paths=_default_paths,
#          _pattern=_default_pattern,
#          _base_img_path=_default_base_img_path,
#          _rtl_locales=_default_rtl,
#          _lang_mappings=_default_lang_mappings):
# 
# Path: email_parser/model.py
# class EmailType(Enum):
#     marketing = 'marketing'
#     transactional = 'transactional'


# Path: tests/test_parser.py
import os
import email_parser
from unittest import TestCase
from unittest.mock import patch
from email_parser import config
from email_parser.model import EmailType

                'name': 'content',
                'type': 'text',
                'variants': {
                    'B': 'Awesome content'
                }
            },
            'image': {
                'content': '![Alt text](/path/to/img.jpg)',
                'is_global': False,
                'name': 'image',
                'type': 'text',
                'variants': {}
            },
            'image_absolute': {
                'content': '![Alt text](http://path.com/to/{link_locale}/img.jpg)',
                'is_global': False,
                'name': 'image_absolute',
                'type': 'text',
                'variants': {}
            },
            'inline': {
                'content': 'Dummy inline',
                'is_global': False,
                'name': 'inline',
                'type': 'raw',
                'variants': {}
            },
            'subject': {
                'content': 'Dummy subject',
                'is_global': False,

                'name': 'subject',