MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2tests/st2tests/mocks/datastore.py:33–41  ·  view source on GitHub ↗
(self, logger, pack_name, class_name, api_username=None)

Source from the content-addressed store, hash-verified

31 """
32
33 def __init__(self, logger, pack_name, class_name, api_username=None):
34 self._pack_name = pack_name
35 self._class_name = class_name
36 self._username = api_username or "admin"
37 self._logger = logger
38
39 # Holds mock KeyValuePair objects
40 # Key is a KeyValuePair name and value is the KeyValuePair object
41 self._datastore_items = {}
42
43 ##################################
44 # General methods

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected