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

Function test_ssh_key_aspath

test/test_credentials.py:78–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77
78def test_ssh_key_aspath() -> None:
79 username = 'git'
80 pubkey = Path('id_rsa.pub')
81 privkey = Path('id_rsa')
82 passphrase = 'bad wolf'
83
84 cred = Keypair(username, pubkey, privkey, passphrase)
85 assert (username, pubkey, privkey, passphrase) == cred.credential_tuple
86
87
88def test_ssh_agent() -> 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…