Skip to content

Pytest seems to be failing in certain environments #935

@glass-ships

Description

@glass-ships

I've noticed some CI pipelines for test-backend passing, but locally as well as for other PR's (like #890 and #745) pytest is failing with something along the lines of:

ImportError: Error importing plugin "tests.fixtures.search_query": No module named 'tests'

Appears to be an issue with pytest trying to run/import conftest.py but I can't tell when this issue started or why it's complaining now (pytest version doesn't appear to have changed, and pinning to 8.2.0 doesn't fix the issue)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions