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

how to mock boto3.client('scheduler'..) ? #6146

Closed
davit555 opened this issue Mar 28, 2023 · 2 comments · Fixed by #6197
Closed

how to mock boto3.client('scheduler'..) ? #6146

davit555 opened this issue Mar 28, 2023 · 2 comments · Fixed by #6197

Comments

@davit555
Copy link

I couldn't find a way to doing this even after downloading the last version...

@bblommers
Copy link
Collaborator

Hey @davit555, thanks for raising this. That service is not supported yet - will mark it as an enhancement.

Which methods were you after specifically?

Just to let you know, if this is an urgent requirement, you can patch boto3 manually until we add support for this:
https://docs.getmoto.org/en/latest/docs/services/patching_other_services.html

@davit555
Copy link
Author

hey thank you for your quick reply, didn't know about patching other services through moto )

basically I was trying to mock the

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/scheduler/client/create_schedule.html

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/scheduler/client/delete_schedule.html

methods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants