Skip to content

Fix/okr author#146

Merged
lpi-tn merged 2 commits into
mainfrom
Fix/okr-author
Jun 11, 2026
Merged

Fix/okr author#146
lpi-tn merged 2 commits into
mainfrom
Fix/okr-author

Conversation

@lpi-tn

@lpi-tn lpi-tn commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

This pull request improves the handling and testing of author name processing in the World Bank OKR plugin. The main changes include enhancing the _process_authors method to better handle single-author cases and adding a corresponding test to ensure correctness.

Enhancements to author name processing:

  • Updated the _process_authors method in world_bank_okr.py to handle cases where an author string does not contain a comma, ensuring single-author names like "World Bank" are processed correctly.

Testing improvements:

  • Added a new test test__process_authors_one_author in test_world_bank_okr.py to verify that single-author inputs are correctly processed by _process_authors.

@lpi-tn lpi-tn merged commit 37e1f22 into main Jun 11, 2026
3 checks passed
@lpi-tn lpi-tn deleted the Fix/okr-author branch June 11, 2026 13:42
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.

1 participant