Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Remove tests/ stub; make make test-all work right #402

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

timmc-edx
Copy link
Contributor

  • The tests/__init__.py create/delete thing seems to have been a workaround for something that's no longer relevant, so just remove it.
  • The test-all target needed to depend on clean so that build/lib wouldn't stick around and confuse pytest, and the recipe needed to be pruned down to just tox because otherwise we'd run the quality checks twice. (quality is in the tox.ini default env list.)

Merge checklist:

  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Commits are squashed

- The `tests/__init__.py` create/delete thing seems to have been a
  workaround for something that's no longer relevant, so just remove it.
- The `test-all` target needed to depend on `clean` so that `build/lib`
  wouldn't stick around and confuse pytest, and the recipe needed to be
  pruned down to just `tox` because otherwise we'd run the quality checks
  twice. (`quality` is in the tox.ini default env list.)
Copy link
Contributor

@robrap robrap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timmc-edx
Copy link
Contributor Author

Good find -- I can remove test_utils as well.

@timmc-edx timmc-edx merged commit 04f1886 into master Apr 3, 2024
13 checks passed
@timmc-edx timmc-edx deleted the timmc/test-all branch April 3, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants