view tests/_test_context.py @ 737:282c8e64d7b1

FIX: tests on non-Windows
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 29 Oct 2023 11:32:56 +0100
parents 75ecbe07abff
children
line wrap: on
line source

# -*- coding: utf-8 -*-
r"""Automatic unittest context configuration

"""

import sys
import os

sys.path.insert(
    0,
    os.path.abspath(
        os.path.normpath(os.path.join(os.path.dirname(__file__), ".."))))


TESTDATADIR = os.path.join(
    os.path.abspath(os.path.dirname(__file__)),
    "data")