Skip to content

Commit

Permalink
create client
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Apr 3, 2024
1 parent 7ab2139 commit 42bd1b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ def testConnectWithSessionId(self, gatewaywrapper):
assert conn.connect(sUuid=sid), "Should be connected"

def testSecure(self, gatewaywrapper):
gatewaywrapper.loginAsUser()
client = gatewaywrapper.gateway
client = omero.client()
client.createSession("root", dbhelpers.ROOT.passwd)
assert not client.isSecure()
with BlitzGateway(client_obj=client, secure=True) as conn:
assert not conn.isSecure()
Expand Down

0 comments on commit 42bd1b1

Please sign in to comment.