Skip to content

Commit 5a1c816

Browse files
Joey Ashleyclaude
andcommitted
fix: skip openai-dependent tests in CI with importorskip
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 45432e2 commit 5a1c816

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

test/test_batch_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Integration tests for batch embedding functionality."""
22

33
import pytest
4+
pytest.importorskip("openai")
45
import tempfile
56
import os
67
import sqlite3

test/test_embedding_benchmarks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Performance benchmarks for batch embedding."""
22

33
import pytest
4+
pytest.importorskip("openai")
45
import time
56
from unittest.mock import MagicMock
67
from core.embedding_service import EmbeddingService

0 commit comments

Comments
 (0)