test: database clusters metrics credentials #350
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #342
Adds mocked tests for databases.get_cluster_metrics_credentials and databases.update_cluster_metrics_credentials
Tests passed locally
![Screenshot 2024-10-01 002857](https://private-user-images.githubusercontent.com/106430579/372575168-b7f67d35-a581-497c-8e7f-8408d28620e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MzE1NDMsIm5iZiI6MTczOTkzMTI0MywicGF0aCI6Ii8xMDY0MzA1NzkvMzcyNTc1MTY4LWI3ZjY3ZDM1LWE1ODEtNDk3Yy04ZTdmLTg0MDhkMjg2MjBlMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOVQwMjE0MDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hZTJhMjZmN2ViMGIyMzcwMzczMjc1MDI1OTkyMDA2NjZkNGY1ODJmYWJlNmUxODhiNjU4MWM4MGVmNTU2ZmNmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.W3PPn6yiuW1u6lMijl4coIB3H3LW3FLBrJABAmXByw0)