Mercurial > hgrepos > Python > apps > py-cutils
comparison tests/_test_setup.py @ 101:5de499711a92
Begin some unittests for shasum
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 29 Apr 2022 09:27:05 +0200 |
| parents | |
| children | 7912be4930b4 |
comparison
equal
deleted
inserted
replaced
| 100:f95918115c6b | 101:5de499711a92 |
|---|---|
| 1 # -*- coding: utf-8 -*- | |
| 2 r"""Unit tests | |
| 3 | |
| 4 """ | |
| 5 | |
| 6 import os | |
| 7 import sys | |
| 8 | |
| 9 | |
| 10 TESTDIR = os.path.normpath(os.path.abspath(os.path.dirname(__file__))) | |
| 11 DATADIR = os.path.join(TESTDIR, "data") | |
| 12 | |
| 13 | |
| 14 sys.path.insert(0, os.path.join(TESTDIR, "..")) |
