Commit 20d8d2f5013da689115a8aac53c874589711d5e1
Committed by
Philippe Lagadec
1 parent
ae51bbfe
unittest: update template
Showing
1 changed file
with
2 additions
and
3 deletions
tests/unittest_template.py
| ... | ... | @@ -8,9 +8,8 @@ Should work with python2 and python3! |
| 8 | 8 | import unittest |
| 9 | 9 | |
| 10 | 10 | # if you need data from oletools/test-data/DIR/, uncomment these lines: |
| 11 | -#from os.path import join, dirname, normpath | |
| 12 | -#Directory with test data, independent of current working directory | |
| 13 | -#DATA_DIR = normpath(join(dirname(__file__), '..', 'test-data', 'DIR')) | |
| 11 | +## Directory with test data, independent of current working directory | |
| 12 | +#from tests.test_utils import DATA_BASE_DIR | |
| 14 | 13 | |
| 15 | 14 | |
| 16 | 15 | class TestMyFeature(unittest.TestCase): | ... | ... |