Skip to content

Commit

Permalink
Fix up unit test now that cryptography only allows valid strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 committed Aug 19, 2024
1 parent b1c7392 commit 4140570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/plugins/plugin_utils/_ldap/test_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def test_client_auth_path_der_key(
perform_handshake(context, tls_server, client_certificate[0])


@pytest.mark.parametrize("password", [None, b"Password123!\xFF"])
@pytest.mark.parametrize("password", [None, b"P\xc3\xa4ssword123!"])
def test_client_auth_path_pfx_file(
password: t.Optional[bytes],
tls_server: TlsServer,
Expand Down

0 comments on commit 4140570

Please sign in to comment.