Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_knowledge_portfolio
Tests reference — tests/knowledge_graph/test_knowledge_portfolio.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_knowledge_portfolio.py
source · 24 tests · 217 lines
Tests for Knowledge Graph portfolio management.
Covers: knowledge_graph.portfolio, knowledge_graph.types
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestKGPortfolioManagerInit |
14 | Test initialization. |
| method | TestKGPortfolioManagerInit.test_init_no_client |
17 | |
| class | TestCreatePortfolio |
24 | Test portfolio creation. |
| method | TestCreatePortfolio.test_create_portfolio |
27 | |
| method | TestCreatePortfolio.test_create_portfolio_with_metadata |
33 | |
| method | TestCreatePortfolio.test_create_multiple_portfolios |
41 | |
| method | TestCreatePortfolio.test_portfolio_id_uniqueness |
48 | |
| class | TestGetPortfolio |
54 | Test portfolio retrieval. |
| method | TestGetPortfolio.test_get_existing |
57 | |
| method | TestGetPortfolio.test_get_nonexistent |
64 | |
| class | TestAddProject |
70 | Test project management. |
| method | TestAddProject.test_add_project |
73 | |
| method | TestAddProject.test_add_project_to_nonexistent_portfolio |
80 | |
| method | TestAddProject.test_add_multiple_projects |
85 | |
| method | TestAddProject.test_get_project |
93 | |
| method | TestAddProject.test_get_nonexistent_project |
102 | |
| class | TestGetPortfolioProjects |
108 | Test portfolio project listing. |
| method | TestGetPortfolioProjects.test_get_projects_empty |
111 | |
| method | TestGetPortfolioProjects.test_get_projects_with_items |
117 | |
| method | TestGetPortfolioProjects.test_get_projects_nonexistent_portfolio |
127 | |
| class | TestGetDashboard |
133 | Test dashboard generation. |
| method | TestGetDashboard.test_dashboard_empty |
136 | |
| method | TestGetDashboard.test_dashboard_with_projects |
144 | |
| class | TestCrossProjectQuery |
154 | Test cross-project entity search. |
| method | TestCrossProjectQuery.test_cross_project_query |
157 | |
| method | TestCrossProjectQuery.test_cross_project_query_empty_portfolio |
166 | |
| class | TestRemoveProject |
173 | Test project removal. |
| method | TestRemoveProject.test_remove_project |
176 | |
| method | TestRemoveProject.test_remove_nonexistent_project |
185 | |
| method | TestRemoveProject.test_remove_updates_portfolio_projects |
190 | |
| class | TestPortfolioProperties |
201 | Test property accessors. |
| method | TestPortfolioProperties.test_portfolio_count |
204 | |
| method | TestPortfolioProperties.test_project_count |
212 |