Commit d3636965 authored by di68kap's avatar di68kap
Browse files

- test_dhparser.py now runs as standalone as well

parent 1ede5e94
......@@ -23,7 +23,8 @@ limitations under the License.
import os
import shutil
import sys
# sys.path.extend(['../', './'])
sys.path.extend(['../', './'])
class TestDHParserCommandLineTool:
......@@ -44,3 +45,7 @@ class TestDHParserCommandLineTool:
xml = f.read()
assert xml.find('<document>') >= 0
# os.chdir(cwd)
if __name__ == "__main__":
from DHParser.testing import runner
runner("", globals())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment