From 20d8d2f5013da689115a8aac53c874589711d5e1 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Thu, 23 Nov 2017 10:20:55 +0100 Subject: [PATCH] unittest: update template --- tests/unittest_template.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unittest_template.py b/tests/unittest_template.py index a5c2cb6..7d63efe 100644 --- a/tests/unittest_template.py +++ b/tests/unittest_template.py @@ -8,9 +8,8 @@ Should work with python2 and python3! import unittest # if you need data from oletools/test-data/DIR/, uncomment these lines: -#from os.path import join, dirname, normpath -#Directory with test data, independent of current working directory -#DATA_DIR = normpath(join(dirname(__file__), '..', 'test-data', 'DIR')) +## Directory with test data, independent of current working directory +#from tests.test_utils import DATA_BASE_DIR class TestMyFeature(unittest.TestCase): -- libgit2 0.21.4