ophyd_async.core.assert_emitted#

ophyd_async.core.assert_emitted(docs: Mapping[str, list[dict]], **numbers: int)[source]#

Assert emitted document generated by running a Bluesky plan

Parameters:
  • Doc – A dictionary

  • numbers – expected emission in kwarg from

Notes

Example usage::

assert_emitted(docs, start=1, descriptor=1, resource=1, datum=1, event=1, stop=1)