diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/_test_setup.py	Fri Apr 29 09:27:05 2022 +0200
@@ -0,0 +1,14 @@
+# -*- 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, ".."))