diff --git a/api-openbis-python3-pybis/src/python/tests/jenkinstest/test.py b/api-openbis-python3-pybis/src/python/tests/jenkinstest/test.py index 63468cc2fbadf38d61cdd9ccf4e1b0ec33def153..a072111d6d67474a8862cf7d1f20817822437912 100644 --- a/api-openbis-python3-pybis/src/python/tests/jenkinstest/test.py +++ b/api-openbis-python3-pybis/src/python/tests/jenkinstest/test.py @@ -13,10 +13,11 @@ # limitations under the License. # -import os +# import os import settings import testcase +import util as util class TestCase(testcase.TestCase): @@ -27,8 +28,10 @@ class TestCase(testcase.TestCase): # pybis should be installed on the jenkins job configuration level self.openbisController = self.createOpenbisController() self.openbisController.allUp() + + util.executeCommand(['pytest', '--junitxml=test_results_pybis.xml', 'api-openbis-python3-pybis/src/python/tests']) # run tests - os.system('pytest --junitxml=test_results_pybis.xml api-openbis-python3-pybis/src/python/tests') + # os.system('pytest --junitxml=test_results_pybis.xml api-openbis-python3-pybis/src/python/tests') TestCase(settings, __file__).runTest()