Skip to content

Tests context yielded values not passed to test functions #139

@bradleyayers

Description

@bradleyayers

When a test is decorated and wrapped in a function that takes *args, **kwargs using functools.wraps, yielded values from contexts are not passed.

The situation that exposed this was using Django's override_settings.

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