Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
3e41d45e
Commit
3e41d45e
authored
Aug 29, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/jstestnode: minimal test that runTestSuite can be executed
parent
450b5822
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
software/jstestnode/test/test.py
software/jstestnode/test/test.py
+15
-0
No files found.
software/jstestnode/test/test.py
View file @
3e41d45e
...
...
@@ -26,8 +26,11 @@
##############################################################################
import
glob
import
json
import
os
import
subprocess
import
requests
from
slapos.testing.testcase
import
makeModuleSetUpAndTestCaseClass
...
...
@@ -85,3 +88,15 @@ class TestJSTestNode(InstanceTestCase):
[
requests
.
codes
.
forbidden
,
False
],
[
result
.
status_code
,
result
.
is_redirect
]
)
def
test_runTestSuite
(
self
):
runTestSuite_output
=
subprocess
.
check_output
(
[
os
.
path
.
join
(
self
.
computer_partition_root_path
,
'bin'
,
'runTestSuite'
,
),
'--help'
,
])
self
.
assertTrue
(
runTestSuite_output
)
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