Skip to content

Commit

Permalink
fix test after switching user
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Apr 4, 2024
1 parent de896ac commit 2c44a3f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ def testConnectWithSessionId(self, gatewaywrapper):
def testSecure(self, gatewaywrapper):
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()
assert client.isSecure()
with BlitzGateway(client_obj=client) as conn:
assert conn.isSecure()

def testHost(self, gatewaywrapper):
gatewaywrapper.loginAsUser()
Expand Down

0 comments on commit 2c44a3f

Please sign in to comment.