Add support for builtin types for get_value and set_value #72
GitHub Actions / Test Results
failed
May 15, 2025 in 0s
1 fail, 9 pass in 7s
Annotations
Check warning on line 0 in tests.unit.test_streamlit_panel
github-actions / Test Results
All 10 runs failed: test___unopened_panel___get_unset_value___raises_exception (tests.unit.test_streamlit_panel)
test_results/nipanel-ubuntu-latest-py3.10.xml [took 0s]
test_results/nipanel-ubuntu-latest-py3.11.xml [took 0s]
test_results/nipanel-ubuntu-latest-py3.12.xml [took 0s]
test_results/nipanel-ubuntu-latest-py3.13.xml [took 0s]
test_results/nipanel-ubuntu-latest-py3.9.xml [took 0s]
test_results/nipanel-windows-latest-py3.10.xml [took 0s]
test_results/nipanel-windows-latest-py3.11.xml [took 0s]
test_results/nipanel-windows-latest-py3.12.xml [took 0s]
test_results/nipanel-windows-latest-py3.13.xml [took 0s]
test_results/nipanel-windows-latest-py3.9.xml [took 0s]
Raw output
Failed: DID NOT RAISE <class 'grpc.RpcError'>
grpc_channel_for_fake_panel_service = <grpc._channel.Channel object at 0x000001FCD0D99820>
def test___unopened_panel___get_unset_value___raises_exception(
grpc_channel_for_fake_panel_service: grpc.Channel,
) -> None:
"""Test that get_value() raises an exception for an unset value."""
channel = grpc_channel_for_fake_panel_service
panel = StreamlitPanel("my_panel", "path/to/script", grpc_channel=channel)
value_id = "test_id"
with pytest.raises(grpc.RpcError):
> panel.get_value(value_id)
E Failed: DID NOT RAISE <class 'grpc.RpcError'>
tests\unit\test_streamlit_panel.py:70: Failed
Loading