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

SSDM-13735: configuring code for running pybis tests against openbis

parent c902d4e6
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -1335,6 +1335,9 @@ class Openbis:
"params": [username, password],
}
token = self._post_request(self.as_v3, login_request)
print(self.as_v3)
print(login_request)
print(token)
if token is None or (is_different_login() and token == self.token):
raise ValueError("login to openBIS failed")
self.token = token
......
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