Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P711
svn test refactoring target!
Active
Public
Actions
Authored by
ardumont
on Jul 2 2020, 6:06 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
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,
)
Event Timeline
ardumont
created this paste.
Jul 2 2020, 6:06 PM
2020-07-02 18:06:32 (UTC+2)
Log In to Comment