Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ufebl
mjtest
Commits
7c898e5c
Commit
7c898e5c
authored
Nov 30, 2016
by
Johannes Bechberger
Browse files
Fix issue in BasicSyntaxTest.short_name
parent
e843d83b
Changes
1
Show whitespace changes
Inline
Side-by-side
mjtest/test/syntax_tests.py
View file @
7c898e5c
...
...
@@ -29,7 +29,8 @@ class BasicSyntaxTest(TestCase):
if
self
.
file
.
startswith
(
subdir
):
test_dir
=
subdir
break
assert
test_dir
!=
None
if
test_dir
is
None
:
return
path
.
relpath
(
self
.
file
,
self
.
env
.
test_dir
)
return
path
.
relpath
(
self
.
file
,
test_dir
)
def
run
(
self
)
->
BasicTestResult
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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