@@ -329,9 +329,9 @@ def test_creates_app_on_backend(
329329 )
330330 )
331331
332- respx_mock .post ("/apps/" , json = { "name" : "demo" , "team_id" : team [ "id" ], "directory" : None }). mock (
333- return_value = Response ( 201 , json = _get_random_app ( team_id = team ["id" ]))
334- )
332+ respx_mock .post (
333+ "/apps/" , json = { "name" : "demo" , " team_id" : team ["id" ], "directory" : None }
334+ ). mock ( return_value = Response ( 201 , json = _get_random_app ( team_id = team [ "id" ])))
335335
336336 with (
337337 changing_dir (tmp_path ),
@@ -431,9 +431,9 @@ def test_exits_successfully_when_deployment_is_done(
431431 return_value = Response (200 , json = {"data" : [team_data ]})
432432 )
433433
434- respx_mock .post ("/apps/" , json = { "name" : "demo" , "team_id" : team_data [ "id" ], "directory" : None }). mock (
435- return_value = Response ( 201 , json = app_data )
436- )
434+ respx_mock .post (
435+ "/apps/" , json = { "name" : "demo" , "team_id" : team_data [ "id" ], "directory" : None }
436+ ). mock ( return_value = Response ( 201 , json = app_data ))
437437
438438 respx_mock .get (f"/apps/{ app_data ['id' ]} " ).mock (
439439 return_value = Response (200 , json = app_data )
@@ -687,9 +687,9 @@ def _deploy_without_waiting(respx_mock: respx.MockRouter, tmp_path: Path) -> Res
687687 )
688688 )
689689
690- respx_mock .post ("/apps/" , json = { "name" : "demo" , "team_id" : team_data [ "id" ], "directory" : None }). mock (
691- return_value = Response ( 201 , json = app_data )
692- )
690+ respx_mock .post (
691+ "/apps/" , json = { "name" : "demo" , "team_id" : team_data [ "id" ], "directory" : None }
692+ ). mock ( return_value = Response ( 201 , json = app_data ))
693693
694694 respx_mock .get (f"/apps/{ app_data ['id' ]} " ).mock (
695695 return_value = Response (200 , json = app_data )
0 commit comments