Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Nov 23, 2024
1 parent 4b769ec commit 3421576
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_ssh_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def setup_user_and_target(
api.create_public_key_credential(
user.id,
sdk.NewPublicKeyCredential(
openssh_public_key=wg_c_ed25519_pubkey.read_text().strip()
openssh_public_key=open("ssh-keys/id_ed25519.pub").read().strip(),
),
)
api.add_user_role(user.id, role.id)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ssh_user_auth_otp.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_otp(
api.create_public_key_credential(
user.id,
sdk.NewPublicKeyCredential(
openssh_public_key=wg_c_ed25519_pubkey.read_text().strip()
openssh_public_key=open("ssh-keys/id_ed25519.pub").read().strip()
),
)
api.create_otp_credential(
Expand Down

0 comments on commit 3421576

Please sign in to comment.