From 70c0b94037f25722d284f76c6e5c47c2b7d18402 Mon Sep 17 00:00:00 2001
From: felmer <franz-josef.elmer@id.ethz.ch>
Date: Tue, 25 Sep 2018 10:59:33 +0200
Subject: [PATCH] SSDM-7190: bug fixed in integration test

---
 integration-tests/test_openbis_sync.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/integration-tests/test_openbis_sync.py b/integration-tests/test_openbis_sync.py
index dd308f36c1c..c3426a623a3 100755
--- a/integration-tests/test_openbis_sync.py
+++ b/integration-tests/test_openbis_sync.py
@@ -81,6 +81,7 @@ class TestCase(systemtest.testcase.TestCase):
         openbis2.createTestDatabase('pathinfo')
         openbis2.createTestDatabase('imaging')
         openbis2.createTestDatabase('proteomics')
+        openbis2.enableCorePlugin("openbis-sync")
         
         '''set openbis2 as harvester'''
         source = self.getHarvesterConfigFolder()
@@ -294,7 +295,7 @@ class TestCase(systemtest.testcase.TestCase):
         base64string = base64.encodestring('%s:%s' % (user, password)).replace('\n', '')
         request.add_header("Authorization", "Basic %s" % base64string)
         data = urllib.urlencode({'mode' : 'test'})
-        response = urllib2.urlopen(request, data)
+        response = urllib2.urlopen(request, data, context=ssl._create_unverified_context())
         return response
 
     def getHarvesterConfigFolder(self):
-- 
GitLab