More verbosity in tests in CI, refs #901

This commit is contained in:
Simon Willison 2025-04-08 19:37:42 -07:00
parent 7b46c17976
commit 0950ff360f
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ jobs:
pip install -e '.[test]'
- name: Run tests
run: |
pytest
python -m pytest -vv
- name: Check if cog needs to be run
if: matrix.os != 'windows-latest'
run: |

View file

@ -368,5 +368,5 @@ def test_execute_prompt_from_template_path():
["-t", str(path), "-m", "echo"],
catch_exceptions=False,
)
assert result.exit_code == 0
assert result.exit_code == 0, result.output
assert result.output.strip() == "system:\nsystem\n\nprompt:\nprompt"