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

GitAuto: Add unit tests to services/github/actions_manager.py #439

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gitauto-for-dev[bot]
Copy link
Contributor

Resolves #437

What is the feature

Add unit tests to services/github/actions_manager.py to enhance code reliability and maintainability.

Where / How to implement the feature and why

Create a new test file tests/services/github/test_actions_manager.py and implement comprehensive unit tests covering all functions and classes within actions_manager.py. Utilize pytest along with unittest.mock to mock external dependencies, ensuring tests are isolated and do not rely on external systems. This approach follows modern best practices for testing in Python, ensuring that the actions_manager functionalities behave as expected and facilitating easier future modifications.

Anything the issuer needs to do

No action required.

Test these changes locally

git fetch origin
git checkout gitauto-wes/issue-437-20241222-225936
git pull origin gitauto-wes/issue-437-20241222-225936

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.

Add unit tests to services/github/actions_manager.py
0 participants