MCPcopy
hub / github.com/borgbackup/borg / get_repository_from_fixture

Function get_repository_from_fixture

src/borg/testsuite/legacyrepository_test.py:43–45  ·  view source on GitHub ↗
(repo_fixtures, request)

Source from the content-addressed store, hash-verified

41
42
43def get_repository_from_fixture(repo_fixtures, request):
44 # Return the repository object from the fixture for tests that run on both local and remote repositories.
45 return request.getfixturevalue(repo_fixtures)
46
47
48def reopen(repository, exclusive: bool | None = True, create=False):

Callers 14

test_basic_operationsFunction · 0.70
test_read_dataFunction · 0.70
test_consistencyFunction · 0.70
test_consistency2Function · 0.70
test_listFunction · 0.70
test_max_data_sizeFunction · 0.70
test_repair_no_commitsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected