Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_pam_integration

Tests reference — tests/knowledge_graph/test_pam_integration.py

Module of tests/knowledge_graph, split out because the directory page would be too large.

Prose pending.

tests/knowledge_graph/test_pam_integration.py

source · 18 tests · 152 lines

Tests for knowledge_graph.pam_integration.

Covers: knowledge_graph.pam_integration

Kind Name Line Description
class TestPAMIntegrationOwnership 28
method TestPAMIntegrationOwnership.test_set_and_get_owner 29
method TestPAMIntegrationOwnership.test_get_owner_none 34
method TestPAMIntegrationOwnership.test_check_ownership_direct 38
method TestPAMIntegrationOwnership.test_get_owned_nodes 44
method TestPAMIntegrationOwnership.test_get_owned_nodes_empty 52
class TestPAMIntegrationAccess 57
method TestPAMIntegrationAccess.test_owner_can_do_anything 58
method TestPAMIntegrationAccess.test_read_allowed_for_all 64
method TestPAMIntegrationAccess.test_write_requires_ownership 69
class TestPAMIntegrationDelegation 75
method TestPAMIntegrationDelegation.test_delegate_ownership 76
method TestPAMIntegrationDelegation.test_delegate_without_ownership_fails 86
method TestPAMIntegrationDelegation.test_get_delegations_empty 91
method TestPAMIntegrationDelegation.test_revoke_delegation 95
method TestPAMIntegrationDelegation.test_revoke_nonexistent 103
class TestPAMIntegrationClear 109
method TestPAMIntegrationClear.test_clear_removes_all 110
class TestPAMIntegrationWithPrologBridge 119
method TestPAMIntegrationWithPrologBridge.test_set_owner_with_bridge 120
method TestPAMIntegrationWithPrologBridge.test_set_owner_bridge_raises 129
method TestPAMIntegrationWithPrologBridge.test_check_ownership_with_bridge 138
method TestPAMIntegrationWithPrologBridge.test_enforce_access_with_bridge 146