MCPcopy Index your code
hub / github.com/borgbackup/borg / key

Method key

src/borg/testsuite/remote_test.py:198–201  ·  view source on GitHub ↗
(self, repository, monkeypatch)

Source from the content-addressed store, hash-verified

196
197 @pytest.fixture
198 def key(self, repository, monkeypatch):
199 monkeypatch.setenv("BORG_PASSPHRASE", "test")
200 key = PlaintextKey.create(repository, TestKey.MockArgs())
201 return key
202
203 @pytest.fixture
204 def repo_objs(self, key):

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected