Skip to content

Add package property to request #12852

Open
@apvd

Description

@apvd

What's the problem this feature will solve?

Fixtures can have function, class, and module specific behavior by inspecting request but not package specific behavior, even for package scoped fixtures.

Describe the solution you'd like

Add a package property to FeatureRequest, similar to the current module property, that returns the closest node of type Package.

Alternative Solutions

Current solution would be to have separate fixtures in each package, rather than one fixture with package-specific behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: fixturesanything involving fixtures directly or indirectlytype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions