Fix renderer assertion mismatches in test_rendering.py #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Four test assertions were checking for
meta["renderer"] == "citeproc-py"but the implementation returns"citeproc", causing test failures.Changes
test_render_bibliography_vancouver_style(line 69)test_render_bibliography_chicago_style(line 137)test_render_bibliography_empty_citations(line 201)test_render_bibliography_with_locale(line 227)All tests now align with the actual return value from
render_bibliography_to_strings():✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.