Skip to content

Commit 25e124b

Browse files
committed
add test for get_sample_output() task
1 parent 539fd8f commit 25e124b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/integration/test_ls372_agent_integration.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@ def test_ls372_get_input_setup(wait_for_crossbar, emulator, run_agent, client):
257257
assert resp.session['op_code'] == OpCode.SUCCEEDED.value
258258

259259

260+
@pytest.mark.integtest
261+
def test_ls372_get_sample_output(wait_for_crossbar, emulator, run_agent, client):
262+
client.init_lakeshore()
263+
resp = client.get_sample_output()
264+
assert resp.status == ocs.OK
265+
assert resp.session['op_code'] == OpCode.SUCCEEDED.value
266+
267+
260268
@pytest.mark.integtest
261269
def test_ls372_sample_custom_pid(wait_for_crossbar, emulator, run_agent, client):
262270
client.init_lakeshore()

0 commit comments

Comments
 (0)