File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414
1515
1616def test___start_panel___gets_response (python_panel_service_stub : PanelServiceStub ) -> None :
17- configuration = StreamlitPanelConfiguration (panel_script_url = "file://path/to/panel.py" )
17+ configuration = StreamlitPanelConfiguration (panel_script_url = "file:/// path/to/panel.py" )
1818 configuration_any = Any ()
1919 configuration_any .Pack (configuration )
2020 request = StartPanelRequest (panel_id = "test_panel" , panel_configuration = configuration_any )
@@ -26,7 +26,7 @@ def test___start_panel___gets_response(python_panel_service_stub: PanelServiceSt
2626def test___start_panel___stop_panel___gets_response (
2727 python_panel_service_stub : PanelServiceStub ,
2828) -> None :
29- configuration = StreamlitPanelConfiguration (panel_script_url = "file://path/to/panel.py" )
29+ configuration = StreamlitPanelConfiguration (panel_script_url = "file:/// path/to/panel.py" )
3030 configuration_any = Any ()
3131 configuration_any .Pack (configuration )
3232 start_request = StartPanelRequest (panel_id = "test_panel" , panel_configuration = configuration_any )
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ def test___panel___python_interpreter_url_is_in_venv(
515515) -> None :
516516 StreamlitPanel ("my_panel" , "path/to/script" , grpc_channel = fake_panel_channel )
517517
518- assert fake_python_panel_service .servicer .python_interpreter_url .startswith ("file://" )
518+ assert fake_python_panel_service .servicer .python_interpreter_url .startswith ("file:/// " )
519519 assert ".venv" in fake_python_panel_service .servicer .python_interpreter_url
520520
521521
@@ -525,7 +525,7 @@ def test___panel___python_script_url_starts_with_file(
525525) -> None :
526526 StreamlitPanel ("my_panel" , "path/to/script" , grpc_channel = fake_panel_channel )
527527
528- assert fake_python_panel_service .servicer .python_script_url .startswith ("file://" )
528+ assert fake_python_panel_service .servicer .python_script_url .startswith ("file:/// " )
529529
530530
531531def is_panel_in_memory (panel : StreamlitPanel ) -> bool :
You can’t perform that action at this time.
0 commit comments