Skip to content

Refactor downloader.py to make more functions unit testable #303

@kollivier

Description

@kollivier

Description

Currently, there are a lot of programming practices, like inner functions, in downloader.py that prevent us from unit testing features such as URL detection and re-writing. This leads to whack-a-mole bug fixing since we don't have the resources to test all existing sources with any changes we make.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions