From 272291b5e6e94cc77745bd35b8c982ddb02189f1 Mon Sep 17 00:00:00 2001 From: Matthew Letter Date: Thu, 10 Dec 2015 09:27:48 -0700 Subject: [PATCH] fix no verify closes #541 --- features/steps/rest-api.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/features/steps/rest-api.py b/features/steps/rest-api.py index 1f99e2562..d8d5b4bc8 100644 --- a/features/steps/rest-api.py +++ b/features/steps/rest-api.py @@ -138,12 +138,12 @@ def require_valid_model(model, name=None, mtype=None, creator=None): @given(u'a running Slycat server.') def step_impl(context): - context.server_admin = slycat.web.client.Connection(host=context.server_host, ssl_verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.server_admin_user, context.server_admin_password)) - context.project_admin = slycat.web.client.Connection(host=context.server_host, ssl_verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_admin_user, context.project_admin_password)) - context.project_writer = slycat.web.client.Connection(host=context.server_host, ssl_verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_writer_user, context.project_writer_password)) - context.project_reader = slycat.web.client.Connection(host=context.server_host, ssl_verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_reader_user, context.project_reader_password)) - context.project_outsider = slycat.web.client.Connection(host=context.server_host, ssl_verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_outsider_user, context.project_outsider_password)) - context.unauthenticated_user = slycat.web.client.Connection(host=context.server_host, ssl_verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}) + context.server_admin = slycat.web.client.Connection(host=context.server_host, verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.server_admin_user, context.server_admin_password)) + context.project_admin = slycat.web.client.Connection(host=context.server_host, verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_admin_user, context.project_admin_password)) + context.project_writer = slycat.web.client.Connection(host=context.server_host, verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_writer_user, context.project_writer_password)) + context.project_reader = slycat.web.client.Connection(host=context.server_host, verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_reader_user, context.project_reader_password)) + context.project_outsider = slycat.web.client.Connection(host=context.server_host, verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}, auth=(context.project_outsider_user, context.project_outsider_password)) + context.unauthenticated_user = slycat.web.client.Connection(host=context.server_host, verify=False, proxies={"http":context.server_proxy, "https":context.server_proxy}) context.server_admin.get_configuration_version() @given(u'a default project.')