Skip to content

Commit

Permalink
Fix tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
moalshak committed Dec 17, 2024
1 parent dab624a commit b3aa0a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_ssh_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def setup_user_and_target(
api.create_public_key_credential(
user.id,
sdk.NewPublicKeyCredential(
label="Public Key",
openssh_public_key=open("ssh-keys/id_ed25519.pub").read().strip(),
),
)
Expand Down
1 change: 1 addition & 0 deletions tests/test_ssh_user_auth_otp.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def test_otp(
api.create_public_key_credential(
user.id,
sdk.NewPublicKeyCredential(
label="Public Key",
openssh_public_key=open("ssh-keys/id_ed25519.pub").read().strip()
),
)
Expand Down
2 changes: 2 additions & 0 deletions tests/test_ssh_user_auth_pubkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def test_ed25519(
api.create_public_key_credential(
user.id,
sdk.NewPublicKeyCredential(
label="Public Key",
openssh_public_key=open("ssh-keys/id_ed25519.pub").read().strip()
),
)
Expand Down Expand Up @@ -104,6 +105,7 @@ def test_rsa(
api.create_public_key_credential(
user.id,
sdk.NewPublicKeyCredential(
label="Public Key",
openssh_public_key=open("ssh-keys/id_rsa.pub").read().strip()
),
)
Expand Down

0 comments on commit b3aa0a2

Please sign in to comment.