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

♻️(contacts) split api test module in actions #573

Merged
merged 8 commits into from
Dec 3, 2024

Conversation

qbey
Copy link
Collaborator

@qbey qbey commented Dec 2, 2024

Purpose

To ease code maintenance and readability, we split the global contact API test module into submodules per action.

This does not impact any feature, the review is just an approval for the PR philosphy.

Proposal

  • run `gitfilesplit core/tests/test_api_contacts.py core/tests/contacts/test_core_api_contacts_{list,retrieve,create,update,delete}.py
  • make several commits to cleanup split files and preserve the original git history

@qbey qbey force-pushed the qbey/contacts_api_split_tests branch from b56533d to ac20eef Compare December 2, 2024 15:50
@qbey qbey marked this pull request as ready for review December 2, 2024 15:50
@qbey qbey self-assigned this Dec 2, 2024
@qbey qbey added the backend label Dec 2, 2024
Copy link
Member

@mjeammet mjeammet left a comment

Choose a reason for hiding this comment

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

Cool de split 👍🏽
Comme c'est pas le sujet, j'ai pas relu les tests.

@qbey qbey force-pushed the qbey/contacts_enforce_profile_contact branch 3 times, most recently from 9ac2d17 to c7bbdd6 Compare December 3, 2024 15:11
Base automatically changed from qbey/contacts_enforce_profile_contact to main December 3, 2024 15:25
…acts/test_core_api_contacts_list.py', 'split/core/tests/test_api_contacts.py-core/tests/contacts/test_core_api_contacts_retrieve.py', 'split/core/tests/test_api_contacts.py-core/tests/contacts/test_core_api_contacts_create.py' and 'split/core/tests/test_api_contacts.py-core/tests/contacts/test_core_api_contacts_update.py' into qbey/contacts_api_split_tests
We need to make several cleanup commits to
keep the git history clean.
We need to make several cleanup commits to
keep the git history clean.
@qbey qbey force-pushed the qbey/contacts_api_split_tests branch from ac20eef to 514414d Compare December 3, 2024 15:26
@qbey qbey merged commit 514414d into main Dec 3, 2024
18 of 19 checks passed
@qbey qbey deleted the qbey/contacts_api_split_tests branch December 3, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants