Skip to main content

Module types

Module types 

Source
Expand description

Data structures for fixture definitions, usages, and related types.

Structs§

FixtureCycle
A circular dependency between fixtures.
FixtureDefinition
A fixture definition extracted from a Python file.
FixtureUsage
A fixture usage (reference) in a Python file.
ParamInsertionInfo
Information about where to insert a new parameter in a function signature.
ScopeMismatch
A scope mismatch where a broader-scoped fixture depends on a narrower-scoped fixture.
UndeclaredFixture
An undeclared fixture used in a function body without being declared as a parameter.

Enums§

CompletionContext
Context for code completion.
FixtureScope
Pytest fixture scope, ordered from narrowest to broadest. A fixture with a broader scope cannot depend on a fixture with a narrower scope.