improvement of validation with llm validation loops

This commit is contained in:
2026-10-02 23:29:41 +02:00
parent 79655633d0
commit ba0256cda8
6 changed files with 69 additions and 81 deletions
+5 -2
View File
@@ -58,8 +58,11 @@ def test_keywords_command_success(mock_photo_logic, dummy_file):
assert result.exit_code == 0
assert "Processing: " in result.stdout
assert "Caption: A beautiful test image" in result.stdout
assert "Tags: test, mock, image" in result.stdout
# The result is printed as a raw dictionary string
assert (
"{'caption': 'A beautiful test image', 'tags': ['test', 'mock', 'image']}"
in result.stdout
)
def test_keywords_command_file_not_found():