codekingpro/portable-devtools
114k
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 