Source code for ewoksbm29.tests.test_mesh

from ..io import read_mesh


[docs] def test_read_mesh(offline_saxs_mesh_data): result = read_mesh.read_scan_parameters(**offline_saxs_mesh_data) expected = { "backnforth": False, "fast_motor_name": "motor_1", "fast_motor_start": 1.0, "fast_motor_step": 6, "fast_motor_stop": 1.6, "slow_motor_name": "motor_0", "slow_motor_start": 0.0, "slow_motor_step": 12, "slow_motor_stop": 1.2, } assert result.model_dump() == expected