ewoksxas.tasks.tests.test_autobk.stub_autobk#

ewoksxas.tasks.tests.test_autobk.stub_autobk(monkeypatch)[source]#

Replace larch.xafs.autobk with a deterministic stub.

The stub records the keyword arguments of every call and writes fixed k/chi/chie arrays onto the target group, mimicking the attributes the task reads back after a real autobk run. It yields the list of recorded calls.