refactor: move llm tests to separate integration and mocked files and centralize fixtures in conftest.py
Tests / test_and_lint (push) Failing after 12s

This commit is contained in:
2026-10-02 10:13:03 +02:00
parent c5298610e7
commit ae7e1684e4
5 changed files with 110 additions and 33 deletions
+10
View File
@@ -0,0 +1,10 @@
import pytest
from photools3.llm_session import LlmSession
from photools3.photo import Photo
@pytest.mark.skipif(not LlmSession(system_prompt="").is_api_reachable(), reason="API not available")
def test_llm_session(llm_session, test_photo):
result = llm_session.call(
prompt="keywords for the attached picture", photos=[test_photo]
)
assert result