Skip to content

mock.patch should be NonAsyncContext #104

@JelleZijlstra

Description

@JelleZijlstra

If you use with asynq.mock_.patch in an asynq function, the context may not get cleaned up properly. It should use context.NonAsyncContext to prevent this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions