<reponame>telegrambotdev/telegram.email.notify
"""
pytest session setup
"""
import sys
import os
import pytest


def path_setup():
    """
    setup sys.path
    """
    cur_dir = os.getcwd()
    sys.path.insert(1, os.path.join(cur_dir, 'source'))
    sys.path.insert(1, os.path.join(cur_dir, 'source', 'libs'))


@pytest.fixture(scope="session", autouse=True)
def session_setup(request):
    """
    Auto session resource fixture
    """
    pass


path_setup()

"""
pytest session setup
"""
import sys
import os
import pytest


def path_setup():
    """
    setup sys.path
    """
    cur_dir = os.getcwd()
    sys.path.insert(1, os.path.join(cur_dir, 'source'))
    sys.path.insert(1, os.path.join(cur_dir, 'source', 'libs'))


@pytest.fixture(scope="session", autouse=True)
def session_setup(request):
    """
    Auto session resource fixture
    """
    pass


path_setup()
pytest session setup setup sys.path Auto session resource fixture