Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
jio
Commits
66407e60
Commit
66407e60
authored
Apr 11, 2013
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
find path in another way to make it working in testnode (quite ugly for now)
parent
770c6c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test_launcher_for_jio/tests/testJIO.py
test_launcher_for_jio/tests/testJIO.py
+4
-4
No files found.
test_launcher_for_jio/tests/testJIO.py
View file @
66407e60
from
unittest
import
TestCase
import
subprocess
import
os
class
JIOTest
(
TestCase
):
...
...
@@ -14,10 +13,11 @@ class JIOTest(TestCase):
"""
Launch jio test without requirejs
"""
root_directory
=
__file__
[
0
:
-
len
(
"parts/jio/test_launcher_for_jio/tests/testJIO.py"
)]
command
=
[
"%s %s %s; exit 0"
%
(
os
.
path
.
expanduser
(
'~/bin/phantomjs'
)
,
os
.
path
.
expanduser
(
'~/parts/jio/test/run-qunit.js'
)
,
os
.
path
.
expanduser
(
'~/parts/jio/test/jiotests_withoutrequirejs.html'
)
)]
'%s/bin/phantomjs'
%
root_directory
,
'%s/parts/jio/test/run-qunit.js'
%
root_directory
,
'%s/parts/jio/test/jiotests_withoutrequirejs.html'
%
root_directory
)]
print
command
result
=
subprocess
.
check_output
(
command
,
...
...
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