Implements JsonReader (#2)
This commit is contained in:
9
bonobo/util/testing.py
Normal file
9
bonobo/util/testing.py
Normal file
@ -0,0 +1,9 @@
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
from bonobo.core.contexts import ComponentExecutionContext
|
||||
|
||||
|
||||
class CapturingComponentExecutionContext(ComponentExecutionContext):
|
||||
def __init__(self, component, parent):
|
||||
super().__init__(component, parent)
|
||||
self.send = MagicMock()
|
||||
Reference in New Issue
Block a user