Orchestrata Ultimate › Tests › Reference › generated_recovery › test_knowledge_graph_pam_integration
Tests reference — tests/generated_recovery/test_knowledge_graph_pam_integration.py
Module of tests/generated_recovery, split out because the directory page would be too large.
Prose pending.
tests/generated_recovery/test_knowledge_graph_pam_integration.py
source · 17 tests · 296 lines
Auto-generated tests for: knowledge_graph.pam_integration
Covers: knowledge_graph.pam_integration
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestPAMIntegrationCheckOwnershipBranches |
32 | Branch/exception tests for: knowledge_graph.pam_integration.PAMIntegration.check_ownership |
| method | TestPAMIntegrationCheckOwnershipBranches.test_L78_when_owner_agent_id_true |
58 | Line 78: condition owner == agent_id is True. |
| method | TestPAMIntegrationCheckOwnershipBranches.test_L78_when_owner_agent_id_false |
66 | Line 78: condition owner == agent_id is False. |
| method | TestPAMIntegrationCheckOwnershipBranches.test_L80_when_self_prolog_true |
74 | Line 80: condition self._prolog is True. |
| method | TestPAMIntegrationCheckOwnershipBranches.test_L80_when_self_prolog_false |
83 | Line 80: condition self._prolog is False. |
| method | TestPAMIntegrationCheckOwnershipBranches.test_handles_Exception_L81 |
92 | Line 81: Exception handler — suppressed. |
| class | TestPAMIntegrationEnforceAccessBranches |
101 | Branch/exception tests for: knowledge_graph.pam_integration.PAMIntegration.enforce_access |
| method | TestPAMIntegrationEnforceAccessBranches.test_L116_when_self_check_ownership_agent_id_node_id_true |
128 | Line 116: condition self.check_ownership(agent_id, node_id) is True. |
| method | TestPAMIntegrationEnforceAccessBranches.test_L116_when_self_check_ownership_agent_id_node_id_false |
138 | Line 116: condition self.check_ownership(agent_id, node_id) is False. |
| method | TestPAMIntegrationEnforceAccessBranches.test_L118_when_operation_read_true |
148 | Line 118: condition operation == 'read' is True. |
| method | TestPAMIntegrationEnforceAccessBranches.test_L118_when_operation_read_false |
158 | Line 118: condition operation == 'read' is False. |
| method | TestPAMIntegrationEnforceAccessBranches.test_L120_when_self_prolog_true |
168 | Line 120: condition self._prolog is True. |
| method | TestPAMIntegrationEnforceAccessBranches.test_L120_when_self_prolog_false |
179 | Line 120: condition self._prolog is False. |
| method | TestPAMIntegrationEnforceAccessBranches.test_handles_Exception_L121 |
190 | Line 121: Exception handler — suppressed. |
| class | TestPAMIntegrationSetOwnerBranches |
199 | Branch/exception tests for: knowledge_graph.pam_integration.PAMIntegration.set_owner |
| method | TestPAMIntegrationSetOwnerBranches.test_L62_when_self_prolog_true |
219 | Line 62: condition self._prolog is True. |
| method | TestPAMIntegrationSetOwnerBranches.test_L62_when_self_prolog_false |
228 | Line 62: condition self._prolog is False. |
| method | TestPAMIntegrationSetOwnerBranches.test_handles_Exception_L63 |
237 | Line 63: Exception handler — suppressed. |
| class | TestPAMIntegrationDelegateBranches |
246 | Branch/exception tests for: knowledge_graph.pam_integration.PAMIntegration.delegate |
| method | TestPAMIntegrationDelegateBranches.test_L138_when_not_self_check_ownership_from_agent_node_true |
272 | Line 138: condition not self.check_ownership(from_agent, node_id) is True. |
| method | TestPAMIntegrationDelegateBranches.test_L138_when_not_self_check_ownership_from_agent_node_false |
285 | Line 138: condition not self.check_ownership(from_agent, node_id) is False. |