Skip to content
Snippets Groups Projects
Commit 0f52fddd authored by anttil's avatar anttil
Browse files

SSDM-6700: remove omitting certificate verification (works only on python 2.7.9 and later)

parent 22ae5af3
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ class TestCase(systemtest.testcase.TestCase): ...@@ -294,7 +294,7 @@ class TestCase(systemtest.testcase.TestCase):
base64string = base64.encodestring('%s:%s' % (user, password)).replace('\n', '') base64string = base64.encodestring('%s:%s' % (user, password)).replace('\n', '')
request.add_header("Authorization", "Basic %s" % base64string) request.add_header("Authorization", "Basic %s" % base64string)
data = urllib.urlencode({'mode' : 'test'}) data = urllib.urlencode({'mode' : 'test'})
response = urllib2.urlopen(request, data, context=ssl._create_unverified_context()) response = urllib2.urlopen(request, data)
return response return response
def installPlugin(self, openbisController, plugin_name): def installPlugin(self, openbisController, plugin_name):
......
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