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

Group all API tests under a tests.api namespace #5615

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

browniebroke
Copy link
Member

@browniebroke browniebroke commented Dec 31, 2024

Description

Group all API-related tests under a package users.test.api.

Checklist:

  • I've made sure that tests are updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

This is better because:

  • It mirrors the structure of the code being tested
  • Add a namespace which simplify file names
  • Avoids mentioning drf in the name

@browniebroke browniebroke changed the title Move API tests into a package Group all API tests under a tests.api namespace Dec 31, 2024
Mirroring the structure of the code being tested
@browniebroke browniebroke force-pushed the refactor/move-api-tests branch from 27d7e92 to 683f207 Compare December 31, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant