MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / FakeVertex

Class FakeVertex

unit-tests/pam/test_uss_github_config.py:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46class FakeVertex:
47 def __init__(self, uid, edges=None, child_vertices=None):
48 self.uid = uid
49 self.edges = edges or []
50 self._child_vertices = child_vertices or []
51
52 def has_vertices(self, *_args, **_kwargs):
53 return self._child_vertices
54
55
56def _patch_dag(existing_config=None):

Callers 1

_patch_dagFunction · 0.85

Calls

no outgoing calls

Tested by 1

_patch_dagFunction · 0.68