Skip to content

fix: update knowledge manager tests for per-workspace librarian clients#1050

Merged
cybermaggedon merged 1 commit into
release/v2.7from
fix/knowledge-core-tests
Jul 16, 2026
Merged

fix: update knowledge manager tests for per-workspace librarian clients#1050
cybermaggedon merged 1 commit into
release/v2.7from
fix/knowledge-core-tests

Conversation

@cybermaggedon

@cybermaggedon cybermaggedon commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update test fixtures to use librarian_clients={"workspace": mock} dict instead of removed librarian= kwarg
  • Adjust mock references to use manager._mock_librarian instead of manager.librarian
  • Add empty list-children response for recursive _stream_doc_tree in download test

Follows up on #1049 which changed KnowledgeManager from a single librarian to per-workspace clients.

Test plan

  • All 6 previously failing tests pass
  • No regressions in remaining test suite

Update test fixtures to use librarian_clients dict keyed by workspace
instead of the removed librarian kwarg. Adjust mock references and
add empty list-children response for recursive _stream_doc_tree.
@github-actions

Copy link
Copy Markdown

Contributor License Agreement ✅

All contributors have signed the CLA. Thank you!

@cybermaggedon

Copy link
Copy Markdown
Contributor Author

Confirmed tests pass in local dev

@cybermaggedon
cybermaggedon merged commit 80ef18a into release/v2.7 Jul 16, 2026
3 checks passed
@cybermaggedon
cybermaggedon deleted the fix/knowledge-core-tests branch July 16, 2026 08:46
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