Skip to content

Commit 00ffc10

Browse files
committed
test: validate maestro flow voice mode construction
1 parent 069217c commit 00ffc10

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎tests/test_context.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,12 @@ def test_explicit_execution_source_not_overwritten() -> None:
393393
assert ctx.execution_source == "custom"
394394

395395

396+
def test_constructor_accepts_maestro_flow_voice_mode() -> None:
397+
ctx = UiPathRuntimeContext(voice_mode="maestro_flow")
398+
399+
assert ctx.voice_mode == "maestro_flow"
400+
401+
396402
def test_from_config_accepts_maestro_flow_voice_mode(tmp_path: Path) -> None:
397403
config_path = tmp_path / "uipath.json"
398404
config_path.write_text(

0 commit comments

Comments
 (0)