Skip to content

Commit

Permalink
add test for get_sample_output() task
Browse files Browse the repository at this point in the history
  • Loading branch information
sanahabhimani committed Aug 16, 2023
1 parent 97075d0 commit 1b4ec30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/test_ls372_agent_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,14 @@ def test_ls372_get_input_setup(wait_for_crossbar, emulator, run_agent, client):
assert resp.session['op_code'] == OpCode.SUCCEEDED.value


@pytest.mark.integtest
def test_ls372_get_sample_output(wait_for_crossbar, emulator, run_agent, client):
client.init_lakeshore()
resp = client.get_sample_output()
assert resp.status == ocs.OK
assert resp.session['op_code'] == OpCode.SUCCEEDED.value


@pytest.mark.integtest
def test_ls372_sample_custom_pid(wait_for_crossbar, emulator, run_agent, client):
client.init_lakeshore()
Expand Down

0 comments on commit 1b4ec30

Please sign in to comment.