(**overrides)
| 13 | @pytest.fixture |
| 14 | def make_scenario(): |
| 15 | def _factory(**overrides) -> Scenario: |
| 16 | defaults = { |
| 17 | "id": "1", |
| 18 | "text": "What sensors are on Chiller 6?", |
| 19 | "type": "iot", |
| 20 | "category": "Knowledge Query", |
| 21 | "characteristic_form": "Should list temperature, pressure, vibration sensors.", |
| 22 | } |
| 23 | defaults.update(overrides) |
| 24 | return Scenario.from_raw(defaults) |
| 25 | |
| 26 | return _factory |
| 27 |