Skip to content

Conversation

@schoekek
Copy link

What does this pull request do?

Problem:

  • conftest.py is in the project root, next to tests/
  • pytest automatically discovers fixtures only in test directories or their parents within the test tree
  • In isolated CI/build environments (pybuild, Salsa CI), fixtures like elasticapm_client and waiting_httpserver are not found

Proposed solution:

  • Move conftest.py into the tests/ directory
  • This makes pytest discover all fixtures correctly in all environments
  • Fully compliant with pytest best practices, no changes to fixture logic

Related issues

Closes #2536

@schoekek schoekek requested a review from a team as a code owner January 23, 2026 06:25
@cla-checker-service
Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
0fdf350

Please, read and sign the above mentioned agreement if you want to contribute to this project

@github-actions
Copy link

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-python community Issues opened by the community triage Issues awaiting triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

move conftest.py to tests/ dir

1 participant