@@ -597,19 +597,7 @@ async def test_seed_error(self, jp_argv, jp_fetch):
597597 kernels = json_decode (response .body )
598598 assert len (kernels ) == 0
599599
600- @pytest .mark .parametrize ("jp_argv" ,
601- ([f"--KernelGatewayApp.seed_uri={ os .path .join (RESOURCES , 'failing_code.ipynb' )} " ,
602- "--JupyterWebsocketPersonality.list_kernels=True" ,
603- "--JupyterWebsocketPersonality.prespawn_count=1" ],))
604- async def test_seed_kernel_failing (self , jp_argv , jp_fetch ):
605- """
606- Server should error because seed notebook has an error.
607- """
608- with pytest .raises (HTTPClientError ) as e :
609- await jp_fetch ("api" , "kernels" , method = 'POST' , body = '{}' )
610- assert e .value .response .code == 500
611-
612- def test_seed_kernel_not_available (self ):
600+ async def test_seed_kernel_not_available (self ):
613601 """
614602 Server should error because seed notebook requires a kernel that is not
615603 installed.
@@ -622,7 +610,7 @@ def test_seed_kernel_not_available(self):
622610
623611@pytest .mark .parametrize ("jp_argv" ,
624612 ([f"--KernelGatewayApp.seed_uri={ os .path .join (RESOURCES , 'zen.ipynb' )} " ,
625- "--JupyterWebsocketPersonality .prespawn_count=1" ],))
613+ "--KernelGatewayApp .prespawn_count=1" ],))
626614class TestKernelLanguageSupport :
627615 """Tests gateway behavior when a client requests a specific kernel spec."""
628616 async def test_seed_language_support (self , jp_argv , spawn_kernel ):
0 commit comments