Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
d3636965
Commit
d3636965
authored
Apr 05, 2018
by
di68kap
Browse files
- test_dhparser.py now runs as standalone as well
parent
1ede5e94
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_dhparser.py
View file @
d3636965
...
...
@@ -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
())
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment