@@ -262,7 +262,7 @@ async def shell_msg(sock, msg_type, msg_content, execute=False):
262262 return reply_msg
263263
264264
265- async def test_jupyter_kernel_msgs (hass , caplog ):
265+ async def test_jupyter_kernel_msgs (hass , caplog , socket_enabled ):
266266 """Test Jupyter kernel messages."""
267267 sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
268268
@@ -404,7 +404,7 @@ async def test_jupyter_kernel_msgs(hass, caplog):
404404 await shutdown (sock )
405405
406406
407- async def test_jupyter_kernel_port_close (hass , caplog ):
407+ async def test_jupyter_kernel_port_close (hass , caplog , socket_enabled ):
408408 """Test Jupyter kernel closing ports."""
409409 sock , port_nums = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
410410
@@ -465,7 +465,7 @@ async def test_jupyter_kernel_port_close(hass, caplog):
465465 assert "signature mismatch: check_sig=" in caplog .text
466466
467467
468- async def test_jupyter_kernel_redefine_func (hass , caplog ):
468+ async def test_jupyter_kernel_redefine_func (hass , caplog , socket_enabled ):
469469 """Test Jupyter kernel redefining trigger function."""
470470 sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
471471
@@ -506,7 +506,7 @@ def func():
506506 await shutdown (sock )
507507
508508
509- async def test_jupyter_kernel_global_ctx_func (hass , caplog ):
509+ async def test_jupyter_kernel_global_ctx_func (hass , caplog , socket_enabled ):
510510 """Test Jupyter kernel global_ctx functions."""
511511 sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
512512
@@ -527,7 +527,7 @@ async def test_jupyter_kernel_global_ctx_func(hass, caplog):
527527 await shutdown (sock )
528528
529529
530- async def test_jupyter_kernel_stdout (hass , caplog ):
530+ async def test_jupyter_kernel_stdout (hass , caplog , socket_enabled ):
531531 """Test Jupyter kernel stdout."""
532532 sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
533533
@@ -540,7 +540,7 @@ async def test_jupyter_kernel_stdout(hass, caplog):
540540 await shutdown (sock )
541541
542542
543- async def test_jupyter_kernel_no_connection_timeout (hass , caplog ):
543+ async def test_jupyter_kernel_no_connection_timeout (hass , caplog , socket_enabled ):
544544 """Test Jupyter kernel timeout on no connection."""
545545 await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" , no_connect = True )
546546
0 commit comments