Commit db4c3e42 authored by Alain Takoudjou's avatar Alain Takoudjou

fixes for tests

parent 3456e13e
......@@ -59,7 +59,7 @@ class TestGitlab(SlapOSInstanceTestCase):
session = requests.session()
# Load the login page to get a CSRF token.
response = session.get(urljoin(self.backend_url, 'users/sign_in'))
response = session.get(urljoin(self.backend_url, 'users/sign_in'), verify=False)
self.assertEqual(response.status_code, 200)
# Extract the CSRF token and param.
......@@ -73,7 +73,7 @@ class TestGitlab(SlapOSInstanceTestCase):
csrf_param: csrf_token}
sign_in = functools.partial(
requests.post,
session.post,
response.url,
data=request_data,
verify=False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment