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 mocked tests: get and update database clusters metrics endpoint credentials #342

Closed
loosla opened this issue Sep 30, 2024 · 1 comment · Fixed by #350
Closed

Add mocked tests: get and update database clusters metrics endpoint credentials #342

loosla opened this issue Sep 30, 2024 · 1 comment · Fixed by #350
Assignees
Labels
hacktoberfest A good hacktoberfest issue! help wanted Extra attention is needed

Comments

@loosla
Copy link
Contributor

loosla commented Sep 30, 2024

Overview

Enhance test coverage by adding mocked test for the function that gets and updates database clusters metrics endpoint credentials.

Mocked tests do not act against the real API so no real resources are created.

To run mocked tests, run: make test-mocked

Instructions

  1. Clone this repo.
  2. If you haven't already, install Python (version: >= 3.7.2) through their official installer.
  3. CD into the directory and run make install
  4. Open file: tests/mocked/test_databases.py
  5. Add a mocked test for databases.get_cluster_metrics_credentials, databases.update_cluster_metrics_credentials
  6. API documentation: get_cluster_metrics_credentials, update_cluster_metrics_credentials
@loosla loosla added help wanted Extra attention is needed hacktoberfest A good hacktoberfest issue! labels Sep 30, 2024
@AryanBakliwal
Copy link
Contributor

Hey @loosla, I've started working on this please assign me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest A good hacktoberfest issue! help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants