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

Add tests for coriolis.cron module #309

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

Cristi1324
Copy link
Contributor

This PR adds unit tests for coriolis.cron module

coriolis/tests/cron/test_cron.py Show resolved Hide resolved
coriolis/tests/cron/test_cron.py Show resolved Hide resolved
coriolis/tests/cron/test_cron.py Show resolved Hide resolved
coriolis/tests/cron/test_cron.py Outdated Show resolved Hide resolved
coriolis/tests/cron/test_cron.py Show resolved Hide resolved
coriolis/tests/cron/test_cron.py Show resolved Hide resolved

self.cron._check_jobs()

mock_job.should_run.assert_called_once()
Copy link
Contributor

Choose a reason for hiding this comment

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

Since both jobs actually call for should_run, this is irrelevant. Please remove

@Dany9966 Dany9966 merged commit 86b91bf into cloudbase:master Apr 22, 2024
4 checks passed
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