Skip to content

Commit

Permalink
tests: Remove pytest assertion about exception
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-stephenson committed Feb 24, 2025
1 parent e2408c2 commit a00f465
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tests/system/tests/test_sssctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,7 @@ def test_sssctl__analyze_child_logs(client: Client, ipa: IPA):
client.sssd.start()
time.sleep(5)

with pytest.raises(SSHAuthenticationError):
client.ssh("user1", "Wrong").connect()
client.ssh("user1", "Wrong").connect()
result = client.sssctl.analyze_request("show --pam --child 1")
assert "Preauthentication failed" in result.stdout, "'Preauthentication failed' was not found!"

Expand Down

0 comments on commit a00f465

Please sign in to comment.