Page MenuHomeSoftware Heritage
Authored By
ardumont
Jul 2 2020, 6:06 PM
Size
475 B
Subscribers
None
def test_loader_svn_new_visit(swh_storage, datadir, tmp_path):
repo_url = prepare_repository("pkg-gourmet.tgz", resources_path=datadir)
loader = SvnLoader(
repo_url,
destination_path=tmp_path
)
assert loader.load() == {"status": "eventful"}
# TODO: insert checks on hashes here
assert_last_visit_matches(
loader.storage,
repo_url,
status="full",
type="svn",
snapshot=GOURMET_SNAPSHOT,
)

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
982237

Event Timeline