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):