Skip to content

test: Turn tests into a package#485

Closed
ValerianRey wants to merge 1 commit intomainfrom
make-tests-a-package
Closed

test: Turn tests into a package#485
ValerianRey wants to merge 1 commit intomainfrom
make-tests-a-package

Conversation

@ValerianRey
Copy link
Copy Markdown
Contributor

@ValerianRey ValerianRey commented Nov 25, 2025

This should remove the need of specifying the tests directory in the PYTHONPATH (which I think is not a good solution).

I think this is the standard approach for imports in tests.

@ValerianRey ValerianRey added the cc: test Conventional commit type for changes to tests. label Nov 25, 2025
@ValerianRey ValerianRey self-assigned this Nov 25, 2025
@ValerianRey ValerianRey added the cc: test Conventional commit type for changes to tests. label Nov 25, 2025
@ValerianRey ValerianRey changed the title test: Turn into a package test: Turn tests into a package Nov 25, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ValerianRey ValerianRey marked this pull request as draft November 25, 2025 17:19
@ValerianRey
Copy link
Copy Markdown
Contributor Author

I think it doesn't work yet.

@PierreQuinton
Copy link
Copy Markdown
Contributor

I don't really understand. Why are we making it a package? Also why should we do global import rather than local?

@ValerianRey
Copy link
Copy Markdown
Contributor Author

Yeah no idea what i'm doing, let's abandon this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: test Conventional commit type for changes to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants