Skip to content

Add mocked tests for vector_databases operations (KBAAS-341) - #678

Merged
RohithSangati merged 2 commits into
digitalocean:mainfrom
nbhoot157:add-vector-db-tests
Jun 24, 2026
Merged

Add mocked tests for vector_databases operations (KBAAS-341)#678
RohithSangati merged 2 commits into
digitalocean:mainfrom
nbhoot157:add-vector-db-tests

Conversation

@nbhoot157

Copy link
Copy Markdown
Contributor

Add mocked tests for vector_databases operations (KBAAS-341)
Adds mocked tests for all 11 vector_databases operations, mirroring the existing test_databases.py pattern. Covers list, create (with project_id), get, update, delete, list_backups, get_restore_status, post_restore_backup, get_credentials, post_resize, and update_tags.
All tests pass (pytest tests/mocked/test_vector_databases.py -v — 11/11).
The generated client already includes the vector_databases surface from the openapi spec merge (digitalocean/openapi#1188, commit 65127f6). These tests validate the generated methods have the expected signatures and response shapes.
Ticket: KBAAS-341 (parent KBAAS-265)

@gitguardian

gitguardian Bot commented Jun 22, 2026

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@nbhoot157
nbhoot157 force-pushed the add-vector-db-tests branch from d193121 to 9400749 Compare June 22, 2026 20:18
@RohithSangati
RohithSangati merged commit 4c53dba into digitalocean:main Jun 24, 2026
6 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