MCPcopy Create free account
hub / github.com/deskree-inc/blok / setUp

Method setUp

runtimes/python3/tests/test_node_base.py:18–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16
17class NodeBaseTest(unittest.TestCase):
18 def setUp(self):
19 self.node = TestNodeBase()
20 self.ctx = MagicMock(spec=Context)
21 self.ctx.config = {'test_node': {'key': 'value'}}
22 self.ctx.response = None
23 self.ctx.vars = {}
24
25 def test_process_success(self):
26 self.node.name = 'test_node'

Callers

nothing calls this directly

Calls 1

TestNodeBaseClass · 0.85

Tested by

no test coverage detected