Mercurial > hgrepos > Python > apps > py-cutils
view tests/_test_setup.py @ 270:42f4ca423ab3
treesum: REFACTOR: Major refactoring of computing digests:
- Digests that are created by reading symlink targets are created as if the
result of readllink() is the content of a regulare file: no special
tagging is done now.
- All digest values have their canonical algorithm name prepended.
- Normalize the order of computation
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 18 Feb 2025 16:07:28 +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
