-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(embeddings): add cache directory tests
This commit adds two tests for the cache_embeddings decorator in the EmbeddingsCache class. The first test checks that the cache directory is created when the cache is enabled. The second test checks that the cache directory is not created when the cache is disabled. These tests help ensure that the cache_embeddings decorator behaves as expected.
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters