test(python-bridge): initialize the interpreter in the embedder seed test

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Yujong Lee 2026-09-21 22:07:15 +00:00
parent 8c82505964
commit eeaf4f36e4

View file

@ -98,6 +98,7 @@ mod tests {
#[tokio::test]
async fn async_embed_returns_the_seeded_vector_or_unavailable() {
Python::initialize();
let embedder = Python::attach(|py| PythonEmbedder::new(py.None()));
let metadata = Map::new();
let embedder_ref = &embedder;