view tests/_test_context.py @ 659:b97e5f3bbc8e

Test indexed list access in variable interpolations: ok. Also drop an extra note into the documentation.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Mon, 30 May 2022 14:08:40 +0200
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")