view tests/_test_setup.py @ 263:01f98d6bfe06

Add directory trees for tree walking and stat tests: - Normal files, symlinks to files and broken symlinks to files - Directories, symlinks to directories and broken symlinks to directories
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 16 Feb 2025 23:55:36 +0100
parents 7912be4930b4
children c02a57df2a29
line wrap: on
line source

# -*- coding: utf-8 -*-
r"""Unit tests

"""

import os
import sys


TESTDIR = os.path.normpath(os.path.abspath(os.path.dirname(__file__)))
DATADIR = os.path.join(TESTDIR, "data")


sys.path.insert(0, os.path.join(TESTDIR, ".."))

del os
del sys