Skip to content
Snippets Groups Projects
Commit 078cb93b authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-13735: Fixing test config for pybis

parent 358e236a
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment