mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-14 23:32:37 +00:00
linting fixes
This commit is contained in:
parent
1180626a22
commit
1aee081a6c
1 changed files with 2 additions and 6 deletions
|
|
@ -181,14 +181,10 @@ async def test_parse_registry_values_error_handling(sqlite_kvstore):
|
||||||
)
|
)
|
||||||
|
|
||||||
await sqlite_kvstore.set(
|
await sqlite_kvstore.set(
|
||||||
KEY_FORMAT.format(type="vector_db", identifier="valid_vector_db"),
|
KEY_FORMAT.format(type="vector_db", identifier="valid_vector_db"), valid_db.model_dump_json()
|
||||||
valid_db.model_dump_json(),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
await sqlite_kvstore.set(
|
await sqlite_kvstore.set(KEY_FORMAT.format(type="vector_db", identifier="corrupted_json"), "{not valid json")
|
||||||
KEY_FORMAT.format(type="vector_db", identifier="corrupted_json"),
|
|
||||||
"{not valid json",
|
|
||||||
)
|
|
||||||
|
|
||||||
await sqlite_kvstore.set(
|
await sqlite_kvstore.set(
|
||||||
KEY_FORMAT.format(type="vector_db", identifier="missing_fields"),
|
KEY_FORMAT.format(type="vector_db", identifier="missing_fields"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue