Mercurial > hgrepos > Python > apps > py-cutils
view tests/_test_setup.py @ 300:1fc117f5f9a1
treesum: Implement --include/--exclude commandline parsing for file name inclusion and exclusion.
BUGS:
- Real filename matching not yet implemented
- Pattern description only very rudimentary
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 04 Mar 2025 16:30:10 +0100 |
| parents | c02a57df2a29 |
| children | 7f797d71bd5e |
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") TMPDIR = os.path.join(DATADIR, "_tmp") sys.path.insert(0, os.path.join(TESTDIR, "..")) del os del sys
