Skip to content

Commit ddb97a1

Browse files
blink1073Jibola
andauthored
Update test/auth_oidc/test_auth_oidc.py
Co-authored-by: Jib <[email protected]>
1 parent 91993ec commit ddb97a1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/auth_oidc/test_auth_oidc.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,10 +1055,7 @@ def test_4_4_speculative_authentication_should_be_ignored_on_reauthentication(se
10551055

10561056
# Assert there were `SaslStart` commands executed.
10571057
found = False
1058-
for event in listener.started_events:
1059-
if event.command_name.lower() != "saslstart":
1060-
found = True
1061-
assert found
1058+
assert not any([event.command_name.lower() == "saslstart" for event in listener.started_events])
10621059

10631060
# Close the client.
10641061
client.close()

0 commit comments

Comments
 (0)