pytest-llm-assert 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/workflows/release.yml +1 -1
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/PKG-INFO +1 -1
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/examples/test_compare_models.py +3 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/pyproject.toml +1 -1
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/integration/test_llm_integration.py +3 -5
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_plugin.py +4 -5
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/uv.lock +1 -1
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.env.example +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/CODEOWNERS +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/dependabot.yml +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/workflows/ci.yml +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/workflows/codeql.yml +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/workflows/dependency-review.yml +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/workflows/stale.yml +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.gitignore +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.pre-commit-config.yaml +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/CODE_OF_CONDUCT.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/CONTRIBUTING.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/LICENSE +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/README.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/SECURITY.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/docs/GITHUB_SETUP_GUIDE.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/docs/README.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/docs/api-reference.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/docs/comparing-models.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/docs/configuration.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/examples/README.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/examples/conftest.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/examples/pytest_conftest.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/examples/test_basic.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/src/pytest_llm_assert/__init__.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/src/pytest_llm_assert/core.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/src/pytest_llm_assert/plugin.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/src/pytest_llm_assert/prompts/system_prompt.md +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/__init__.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/integration/__init__.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/__init__.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_assertion_result.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_azure_auth.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_error_handling.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_fixture_integration.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_llm_assert_core.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_llm_response.py +0 -0
- {pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/unit/test_response_parsing.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-llm-assert
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Simple LLM-powered assertions for any pytest test
|
|
5
5
|
Project-URL: Homepage, https://github.com/sbroenne/pytest-llm-assert
|
|
6
6
|
Project-URL: Documentation, https://github.com/sbroenne/pytest-llm-assert#readme
|
{pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/tests/integration/test_llm_integration.py
RENAMED
|
@@ -10,13 +10,8 @@ from __future__ import annotations
|
|
|
10
10
|
|
|
11
11
|
import os
|
|
12
12
|
from pathlib import Path
|
|
13
|
-
from typing import TYPE_CHECKING
|
|
14
|
-
|
|
15
13
|
import pytest
|
|
16
14
|
|
|
17
|
-
if TYPE_CHECKING:
|
|
18
|
-
from pytest_llm_assert import LLMAssert
|
|
19
|
-
|
|
20
15
|
|
|
21
16
|
# Load .env from workspace root (search upward)
|
|
22
17
|
def _find_env_file() -> Path | None:
|
|
@@ -106,6 +101,9 @@ def llm(request, azure_llm_factory, vertex_llm_factory):
|
|
|
106
101
|
return azure_llm_factory(AZURE_DEPLOYMENT)
|
|
107
102
|
elif request.param == "vertex":
|
|
108
103
|
return vertex_llm_factory(VERTEX_MODEL)
|
|
104
|
+
else:
|
|
105
|
+
msg = f"Unknown provider: {request.param}"
|
|
106
|
+
raise ValueError(msg)
|
|
109
107
|
|
|
110
108
|
|
|
111
109
|
class TestBasicAssertions:
|
|
@@ -77,16 +77,15 @@ class TestPackageExports:
|
|
|
77
77
|
|
|
78
78
|
def test_version_available(self) -> None:
|
|
79
79
|
"""Package version should be accessible."""
|
|
80
|
-
import
|
|
80
|
+
from pytest_llm_assert import __version__
|
|
81
81
|
|
|
82
|
-
assert
|
|
83
|
-
assert pytest_llm_assert.__version__ == "0.1.0"
|
|
82
|
+
assert __version__ == "0.1.0"
|
|
84
83
|
|
|
85
84
|
def test_all_exports(self) -> None:
|
|
86
85
|
"""__all__ should list expected exports."""
|
|
87
|
-
import
|
|
86
|
+
from pytest_llm_assert import __all__ as exports
|
|
88
87
|
|
|
89
|
-
assert set(
|
|
88
|
+
assert set(exports) == {
|
|
90
89
|
"LLMAssert",
|
|
91
90
|
"AssertionResult",
|
|
92
91
|
"LLMResponse",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/.github/ISSUE_TEMPLATE/feature_request.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_llm_assert-0.2.2 → pytest_llm_assert-0.2.3}/src/pytest_llm_assert/prompts/system_prompt.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|