@@ -318,7 +318,7 @@ def test_asks_for_app_name_after_team(
318318def test_creates_app_on_backend (
319319 logged_in_cli : None , tmp_path : Path , respx_mock : respx .MockRouter
320320) -> None :
321- steps = [Keys .ENTER , Keys .ENTER , * "demo" , Keys .ENTER , Keys .ENTER ]
321+ steps = [Keys .ENTER , Keys .ENTER , * "demo" , Keys .ENTER , Keys .ENTER , Keys . ENTER ]
322322
323323 team = _get_random_team ()
324324
@@ -329,7 +329,7 @@ def test_creates_app_on_backend(
329329 )
330330 )
331331
332- respx_mock .post ("/apps/" , json = {"name" : "demo" , "team_id" : team ["id" ]}).mock (
332+ respx_mock .post ("/apps/" , json = {"name" : "demo" , "team_id" : team ["id" ], "directory" : None }).mock (
333333 return_value = Response (201 , json = _get_random_app (team_id = team ["id" ]))
334334 )
335335
@@ -355,6 +355,7 @@ def test_cancels_deployment_when_user_selects_no(
355355 Keys .ENTER ,
356356 * "demo" ,
357357 Keys .ENTER ,
358+ Keys .ENTER ,
358359 Keys .DOWN_ARROW ,
359360 Keys .ENTER ,
360361 ]
@@ -420,6 +421,7 @@ def test_exits_successfully_when_deployment_is_done(
420421 * "demo" ,
421422 Keys .ENTER ,
422423 Keys .ENTER ,
424+ Keys .ENTER ,
423425 ]
424426
425427 team_data = _get_random_team ()
@@ -429,7 +431,7 @@ def test_exits_successfully_when_deployment_is_done(
429431 return_value = Response (200 , json = {"data" : [team_data ]})
430432 )
431433
432- respx_mock .post ("/apps/" , json = {"name" : "demo" , "team_id" : team_data ["id" ]}).mock (
434+ respx_mock .post ("/apps/" , json = {"name" : "demo" , "team_id" : team_data ["id" ], "directory" : None }).mock (
433435 return_value = Response (201 , json = app_data )
434436 )
435437
@@ -671,6 +673,7 @@ def _deploy_without_waiting(respx_mock: respx.MockRouter, tmp_path: Path) -> Res
671673 * "demo" ,
672674 Keys .ENTER ,
673675 Keys .ENTER ,
676+ Keys .ENTER ,
674677 ]
675678
676679 team_data = _get_random_team ()
@@ -684,7 +687,7 @@ def _deploy_without_waiting(respx_mock: respx.MockRouter, tmp_path: Path) -> Res
684687 )
685688 )
686689
687- respx_mock .post ("/apps/" , json = {"name" : "demo" , "team_id" : team_data ["id" ]}).mock (
690+ respx_mock .post ("/apps/" , json = {"name" : "demo" , "team_id" : team_data ["id" ], "directory" : None }).mock (
688691 return_value = Response (201 , json = app_data )
689692 )
690693
0 commit comments