1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
"""isort test wide fixtures and configuration""" import os import pytest TEST_DIR = os.path.dirname(os.path.abspath(__file__)) SRC_DIR = os.path.abspath(os.path.join(TEST_DIR, "../isort/")) @pytest.fixture def test_dir(): return TEST_DIR @pytest.fixture def src_dir(): return SRC_DIR