davidfstr / Crystal-Web-Archiver

Downloads websites for long-term archival.
http://dafoster.net/projects/crystal-web-archiver
60 stars 5 forks source link

When revision body missing on disk, should be able to redownload it without restarting UI #179

Open davidfstr opened 10 months ago

davidfstr commented 10 months ago
Screen Shot 2023-11-30 at 5 46 37 PM Screen Shot 2023-11-30 at 5 46 52 PM

The following test characterizes the current (unusual) behavior:

async def test_given_rr_is_downloaded_but_revision_body_missing_when_expand_rrn_then_shows_error_node_and_redownloads_rr() -> None:
    ...

    # Expand RootResourceNode and ensure it has an _ErrorNode child
    # 
    # TODO: In the future, block on the redownload finishing
    #       and list the links in the redownloaded revision,
    #       WITHOUT needing to reopen the project later
    ...