fix: fix auto_monitor=True for MockPV by add add_callback = mock.MagicMock()
This commit is contained in:
parent
16022c53ef
commit
e7f7f9d665
@ -175,6 +175,9 @@ class MockPV:
|
|||||||
if callback is not None:
|
if callback is not None:
|
||||||
callback(None, None, None)
|
callback(None, None, None)
|
||||||
|
|
||||||
|
def add_callback(self, callback=None, index=None, run_now=False, with_ctrlvars=True, **kw):
|
||||||
|
return mock.MagicMock()
|
||||||
|
|
||||||
def get_with_metadata(
|
def get_with_metadata(
|
||||||
self,
|
self,
|
||||||
count=None,
|
count=None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user