You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

8 lines
519 B

from src.gui.gui_models import GuiAnalysisRequest,GuiExperimentRequest
def test_gui_request_defaults()->None:
e=GuiExperimentRequest();a=GuiAnalysisRequest()
assert e.input_type=="camera" and e.voice_mode=="disabled" and e.camera_position_note==""
assert a.recursive and a.response_test=="auto"
def test_gui_request_preserves_values()->None:
e=GuiExperimentRequest(audio_file="x.wav",camera_position_note="front",voice_mode="prompt")
assert e.audio_file=="x.wav" and e.camera_position_note=="front"