# 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



def read_fixture(filename):
    with open(os.path.join('tests/fixtures', filename)) as fp:
        return fp.read()


class TestParser(TestCase):
    def setUp(self):
        self.parser = email_parser.Parser('./tests')
        self.maxDiff = None

    def tearDown(self):

# 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




def read_fixture(filename):
    with open(os.path.join('tests/fixtures', filename)) as fp:
        return fp.read()


class TestParser(TestCase):
    def setUp(self):
        self.parser = email_parser.Parser('./tests')
        self.maxDiff = None

    def tearDown(self):

        config.init()