Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 14, 2025

Previous commits incorrectly changed test assertions to expect "citeproc-py" as the renderer value, but render_bibliography_to_strings() returns "citeproc". This caused 4 tests to fail.

Changes

  • Reverted meta["renderer"] assertions from "citeproc-py" to "citeproc" in:
    • test_render_bibliography_vancouver_style
    • test_render_bibliography_chicago_style
    • test_render_bibliography_empty_citations
    • test_render_bibliography_with_locale

The implementation at api.py:627 explicitly returns {"renderer": "citeproc", ...} on success, so tests must match this behavior.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

The previous commits changed test assertions to expect "citeproc-py" as the renderer value, but the actual implementation returns "citeproc". This caused 4 tests to fail. Reverted the test assertions back to expecting "citeproc" which matches the actual behavior of render_bibliography_to_strings().

All rendering tests now pass.

Co-authored-by: dosumis <[email protected]>
Copilot AI changed the title [WIP] WIP Address feedback on dependencies and testing improvements Fix test assertions to match actual renderer metadata value Dec 14, 2025
Copilot AI requested a review from dosumis December 14, 2025 15:14
Base automatically changed from ID_lookup_fix to main December 14, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants