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 unit tests for coriolisclient.v1.* modules #88

Merged
merged 9 commits into from
Nov 28, 2024

Conversation

Cristi1324
Copy link
Contributor

This PR adds unit tests for coriolisclient.v1.migrations...services modules.

"schedule")

@mock.patch.object(replica_schedules.ReplicaScheduleManager, "_post")
@mock.patch.object(replica_schedules.ReplicaScheduleManager,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this mock.

expected_data, "schedule")

@mock.patch.object(replica_schedules.ReplicaScheduleManager, "_put")
@mock.patch.object(replica_schedules.ReplicaScheduleManager,
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@Dany9966 Dany9966 merged commit 9359432 into cloudbase:master Nov 28, 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