MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_ssh_key

Function test_ssh_key

test/test_credentials.py:68–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67
68def test_ssh_key() -> None:
69 username = 'git'
70 pubkey = 'id_rsa.pub'
71 privkey = 'id_rsa'
72 passphrase = 'bad wolf'
73
74 cred = Keypair(username, pubkey, privkey, passphrase)
75 assert (username, pubkey, privkey, passphrase) == cred.credential_tuple
76
77
78def test_ssh_key_aspath() -> None:

Callers

nothing calls this directly

Calls 1

KeypairClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…