From eae1825e878f9c189ab4bc48bebd0f8769326584 Mon Sep 17 00:00:00 2001
From: alaskowski <alaskowski@ethz.ch>
Date: Tue, 18 Jul 2023 12:47:39 +0200
Subject: [PATCH] SSDM-13735: Fixing test config for pybis

---
 .../src/python/tests/jenkinstest/test.py                   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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 a072111d6d6..26e3904b7aa 100644
--- a/api-openbis-python3-pybis/src/python/tests/jenkinstest/test.py
+++ b/api-openbis-python3-pybis/src/python/tests/jenkinstest/test.py
@@ -13,7 +13,6 @@
 #   limitations under the License.
 #
 
-# import os
 
 import settings
 import testcase
@@ -23,15 +22,13 @@ import util as util
 class TestCase(testcase.TestCase):
 
     def execute(self):
-
         self.installOpenbis(technologies=['eln-lims', 'eln-lims-life-sciences', 'flow'])
         # 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')
+        util.executeCommand(['pytest', '--junitxml=test_results_pybis.xml',
+                             'api-openbis-python3-pybis/src/python/tests'])
 
 
 TestCase(settings, __file__).runTest()
-- 
GitLab