Commit 3e41d45e authored by Jérome Perrin's avatar Jérome Perrin

software/jstestnode: minimal test that runTestSuite can be executed

parent 450b5822
......@@ -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)
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