Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
test_get_database.py9 linesDownload Raw Back to api
1import pytest
2from chromadb.errors import NotFoundError
3from chromadb.test.conftest import ClientFactories
4
5
6def test_get_database_not_found(client_factories: ClientFactories) -> None:
7    with pytest.raises(NotFoundError):
8        client_factories.create_client(database="does_not_exist")
9 
codekingpro/portable-devtools · Team Ai