Skip to content

Ensure rpc contract for internal source, switch adapters via conformance tests - #16

Merged
ssmails merged 2 commits into
mainfrom
testdata_qunnect_source
Nov 12, 2026
Merged

ssmails merged 2 commits into
mainfrom
testdata_qunnect_source

Conversation

@ssmails

@ssmails ssmails commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor
========== test session starts ===========
platform darwin -- Python 3.13.7, pytest-9.1.1, pluggy-1.6.0 -- /Users/sushroff/Documents/quantum/quantum-hal/test/conformance/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /Users/sushroff/Documents/quantum/quantum-hal/test/conformance
collected 23 items                       

source/test_source.py::test_health_check PASSED [  4%]
source/test_source.py::TestSource::test_resource_health_check[CISCO] PASSED [  8%]
source/test_source.py::TestSource::test_auto_recover[CISCO] PASSED [ 13%]
source/test_source.py::TestSource::test_tune[CISCO] PASSED [ 17%]
source/test_source.py::TestSource::test_initialize[CISCO] PASSED [ 21%]
source/test_source.py::TestSource::test_get_product_info[CISCO] PASSED [ 26%]
source/test_source.py::TestSource::test_deinitialize[CISCO] PASSED [ 30%]
source/test_source.py::TestSource::test_get_status[CISCO] PASSED [ 34%]
source/test_source.py::TestSource::test_set_config[CISCO] PASSED [ 39%]
source/test_source.py::TestSource::test_start_emission[CISCO] SKIPPED [ 43%]
source/test_source.py::TestSource::test_stop_emission[CISCO] PASSED [ 47%]
source/test_source.py::TestSource::test_trigger_event[CISCO] PASSED [ 52%]
source/test_source.py::TestSource::test_resource_health_check[QUNNECT] PASSED [ 56%]
source/test_source.py::TestSource::test_auto_recover[QUNNECT] PASSED [ 60%]
source/test_source.py::TestSource::test_tune[QUNNECT] PASSED [ 65%]
source/test_source.py::TestSource::test_initialize[QUNNECT] PASSED [ 69%]
source/test_source.py::TestSource::test_get_product_info[QUNNECT] PASSED [ 73%]
source/test_source.py::TestSource::test_deinitialize[QUNNECT] PASSED [ 78%]
source/test_source.py::TestSource::test_get_status[QUNNECT] PASSED [ 82%]
source/test_source.py::TestSource::test_set_config[QUNNECT] PASSED [ 86%]
source/test_source.py::TestSource::test_start_emission[QUNNECT] SKIPPED [ 91%]
source/test_source.py::TestSource::test_stop_emission[QUNNECT] PASSED [ 95%]
source/test_source.py::TestSource::test_trigger_event[QUNNECT] PASSED [100%]

===== 21 passed, 2 skipped in 0.22s ======
========== test session starts ==========
platform darwin -- Python 3.13.7, pytest-9.1.1, pluggy-1.6.0 -- /Users/sushroff/Documents/quantum/quantum-hal/test/conformance/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /Users/sushroff/Documents/quantum/quantum-hal/test/conformance
collected 49 items                      

switch/test_switch.py::test_health_checkPASSED [  2%]
switch/test_switch.py::TestSwitch::test_resource_health_check[POLATIS] PASSED [  4%]
switch/test_switch.py::TestSwitch::test_auto_recover[POLATIS] PASSED [  6%]
switch/test_switch.py::TestSwitch::test_tune[POLATIS] PASSED [  8%]
switch/test_switch.py::TestSwitch::test_get_product_info[POLATIS] PASSED [ 10%]
switch/test_switch.py::TestSwitch::test_initialize[POLATIS] PASSED [ 12%]
switch/test_switch.py::TestSwitch::test_deinitialize[POLATIS] PASSED [ 14%]
switch/test_switch.py::TestSwitch::test_get_status[POLATIS] PASSED [ 16%]
switch/test_switch.py::TestSwitch::test_set_config[POLATIS] PASSED [ 18%]
switch/test_switch.py::TestSwitch::test_commit_connection[POLATIS] PASSED [ 20%]
switch/test_switch.py::TestSwitch::test_clear_connections[POLATIS] PASSED [ 22%]
switch/test_switch.py::TestSwitch::test_execute_command[POLATIS] PASSED [ 24%]
switch/test_switch.py::TestSwitch::test_trigger_event[POLATIS] PASSED [ 26%]
switch/test_switch.py::TestSwitch::test_resource_health_check[JW] PASSED [ 28%]
switch/test_switch.py::TestSwitch::test_auto_recover[JW] PASSED [ 30%]
switch/test_switch.py::TestSwitch::test_tune[JW] PASSED [ 32%]
switch/test_switch.py::TestSwitch::test_get_product_info[JW] PASSED [ 34%]
switch/test_switch.py::TestSwitch::test_initialize[JW] PASSED [ 36%]
switch/test_switch.py::TestSwitch::test_deinitialize[JW] PASSED [ 38%]
switch/test_switch.py::TestSwitch::test_get_status[JW] PASSED [ 40%]
switch/test_switch.py::TestSwitch::test_set_config[JW] PASSED [ 42%]
switch/test_switch.py::TestSwitch::test_commit_connection[JW] PASSED [ 44%]
switch/test_switch.py::TestSwitch::test_clear_connections[JW] PASSED [ 46%]
switch/test_switch.py::TestSwitch::test_execute_command[JW] PASSED [ 48%]
switch/test_switch.py::TestSwitch::test_trigger_event[JW] PASSED [ 51%]
switch/test_switch.py::TestSwitch::test_resource_health_check[OSW] PASSED [ 53%]
switch/test_switch.py::TestSwitch::test_auto_recover[OSW] PASSED [ 55%]
switch/test_switch.py::TestSwitch::test_tune[OSW] PASSED [ 57%]
switch/test_switch.py::TestSwitch::test_get_product_info[OSW] PASSED [ 59%]
switch/test_switch.py::TestSwitch::test_initialize[OSW] PASSED [ 61%]
switch/test_switch.py::TestSwitch::test_deinitialize[OSW] PASSED [ 63%]
switch/test_switch.py::TestSwitch::test_get_status[OSW] PASSED [ 65%]
switch/test_switch.py::TestSwitch::test_set_config[OSW] SKIPPED [ 67%]
switch/test_switch.py::TestSwitch::test_commit_connection[OSW] PASSED [ 69%]
switch/test_switch.py::TestSwitch::test_clear_connections[OSW] PASSED [ 71%]
switch/test_switch.py::TestSwitch::test_execute_command[OSW] PASSED [ 73%]
switch/test_switch.py::TestSwitch::test_trigger_event[OSW] PASSED [ 75%]
switch/test_switch.py::TestSwitch::test_resource_health_check[QSWITCH] PASSED [ 77%]
switch/test_switch.py::TestSwitch::test_auto_recover[QSWITCH] PASSED [ 79%]
switch/test_switch.py::TestSwitch::test_tune[QSWITCH] PASSED [ 81%]
switch/test_switch.py::TestSwitch::test_get_product_info[QSWITCH] PASSED [ 83%]
switch/test_switch.py::TestSwitch::test_initialize[QSWITCH] PASSED [ 85%]
switch/test_switch.py::TestSwitch::test_deinitialize[QSWITCH] SKIPPED [ 87%]
switch/test_switch.py::TestSwitch::test_get_status[QSWITCH] PASSED [ 89%]
switch/test_switch.py::TestSwitch::test_set_config[QSWITCH] SKIPPED [ 91%]
switch/test_switch.py::TestSwitch::test_commit_connection[QSWITCH] PASSED [ 93%]
switch/test_switch.py::TestSwitch::test_clear_connections[QSWITCH] PASSED [ 95%]
switch/test_switch.py::TestSwitch::test_execute_command[QSWITCH] PASSED [ 97%]
switch/test_switch.py::TestSwitch::test_trigger_event[QSWITCH] PASSED [100%]

===== 46 passed, 3 skipped in 0.39s =====

@ssmails ssmails changed the title testdata for cisco, qunnect sources update conformance tests Nov 10, 2026
@ssmails ssmails changed the title update conformance tests ensure rpc contract with internal source, switch adapters via conformance tests Nov 10, 2026
@ssmails ssmails changed the title ensure rpc contract with internal source, switch adapters via conformance tests Ensure rpc contract for internal source, switch adapters via conformance tests Nov 10, 2026

@soorisoft soorisoft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ssmails
ssmails merged commit d165fac into main Nov 12, 2026
6 checks passed
@ssmails
ssmails deleted the testdata_qunnect_source branch November 12, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants