test: mark converter tests requiring local services to skip in CI

This commit is contained in:
Greyson LaLonde
2025-09-26 22:50:26 -04:00
parent 03a711c365
commit d2249e621d

View File

@@ -1,4 +1,5 @@
import json
import os
from typing import Dict, List, Optional
from unittest.mock import MagicMock, Mock, patch
@@ -359,6 +360,7 @@ def test_convert_with_instructions():
@pytest.mark.vcr(filter_headers=["authorization"])
@pytest.mark.requires_local_services
def test_converter_with_llama3_2_model():
llm = LLM(model="openrouter/meta-llama/llama-3.2-3b-instruct")
sample_text = "Name: Alice Llama, Age: 30"
@@ -376,6 +378,7 @@ def test_converter_with_llama3_2_model():
@pytest.mark.vcr(filter_headers=["authorization"])
@pytest.mark.requires_local_services
def test_converter_with_llama3_1_model():
llm = LLM(model="ollama/llama3.1", base_url="http://localhost:11434")
sample_text = "Name: Alice Llama, Age: 30"