Skip to content

Commit

Permalink
test(pytest configuration)šŸ”§: Update pytest markers and coverage confiā€¦
Browse files Browse the repository at this point in the history
ā€¦guration

- Change pytest marker from 'llm' to 'llm_eval' in test_docs.py.
- Update pytest addopts in pyproject.toml to use the new 'llm_eval' marker.
- Update sha256 in pixi.lock for llamabot package.
  • Loading branch information
ericmjl committed Sep 6, 2024
1 parent f506b12 commit 22e067d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ whitelist-regex = []
color = true

[tool.pytest.ini_options]
addopts = "-v --cov --cov-report term-missing -m 'not llm'"
addopts = "-v --cov --cov-report term-missing -m 'not llm_eval'"
testpaths = [
"tests",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/cli/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def next_prime(current_number):
)


@pytest.mark.llm
@pytest.mark.llm_eval
@pytest.mark.parametrize(
"original_docs,new_source_code,system_prompt,pydantic_model,expected_status",
[(tuple(case.values())) for case in test_cases],
Expand Down

0 comments on commit 22e067d

Please sign in to comment.