Skip to content

Overriding retry values for testing #39

Open
@jonatanskogsfors

Description

@jonatanskogsfors

Calling a function decorated with @retry in a unittest can potentially take a long while if you want to test error handling. Is there (or could there be) a convenient way to override e.g. delay? Since the decorators are run at import (right?) it is not as easy as using a constant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions