@@ -262,7 +262,7 @@ async def shell_msg(sock, msg_type, msg_content, execute=False):
262
262
return reply_msg
263
263
264
264
265
- async def test_jupyter_kernel_msgs (hass , caplog ):
265
+ async def test_jupyter_kernel_msgs (hass , caplog , socket_enabled ):
266
266
"""Test Jupyter kernel messages."""
267
267
sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
268
268
@@ -404,7 +404,7 @@ async def test_jupyter_kernel_msgs(hass, caplog):
404
404
await shutdown (sock )
405
405
406
406
407
- async def test_jupyter_kernel_port_close (hass , caplog ):
407
+ async def test_jupyter_kernel_port_close (hass , caplog , socket_enabled ):
408
408
"""Test Jupyter kernel closing ports."""
409
409
sock , port_nums = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
410
410
@@ -465,7 +465,7 @@ async def test_jupyter_kernel_port_close(hass, caplog):
465
465
assert "signature mismatch: check_sig=" in caplog .text
466
466
467
467
468
- async def test_jupyter_kernel_redefine_func (hass , caplog ):
468
+ async def test_jupyter_kernel_redefine_func (hass , caplog , socket_enabled ):
469
469
"""Test Jupyter kernel redefining trigger function."""
470
470
sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
471
471
@@ -506,7 +506,7 @@ def func():
506
506
await shutdown (sock )
507
507
508
508
509
- async def test_jupyter_kernel_global_ctx_func (hass , caplog ):
509
+ async def test_jupyter_kernel_global_ctx_func (hass , caplog , socket_enabled ):
510
510
"""Test Jupyter kernel global_ctx functions."""
511
511
sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
512
512
@@ -527,7 +527,7 @@ async def test_jupyter_kernel_global_ctx_func(hass, caplog):
527
527
await shutdown (sock )
528
528
529
529
530
- async def test_jupyter_kernel_stdout (hass , caplog ):
530
+ async def test_jupyter_kernel_stdout (hass , caplog , socket_enabled ):
531
531
"""Test Jupyter kernel stdout."""
532
532
sock , _ = await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" )
533
533
@@ -540,7 +540,7 @@ async def test_jupyter_kernel_stdout(hass, caplog):
540
540
await shutdown (sock )
541
541
542
542
543
- async def test_jupyter_kernel_no_connection_timeout (hass , caplog ):
543
+ async def test_jupyter_kernel_no_connection_timeout (hass , caplog , socket_enabled ):
544
544
"""Test Jupyter kernel timeout on no connection."""
545
545
await setup_script (hass , [dt (2020 , 7 , 1 , 11 , 0 , 0 , 0 )], "" , no_connect = True )
546
546
0 commit comments