@@ -20,7 +20,9 @@ def blueprint_id(admin_session: SandboxRestApiSession, empty_blueprint):
2020@pytest .fixture (scope = "module" )
2121def sandbox_id (admin_session : SandboxRestApiSession , blueprint_id ):
2222 # start sandbox
23- start_res = admin_session .start_sandbox (blueprint_id = blueprint_id , sandbox_name = "Pytest empty blueprint test" )
23+ start_res = admin_session .start_sandbox (
24+ blueprint_id = blueprint_id , sandbox_name = "Pytest empty blueprint test"
25+ )
2426 sandbox_id = start_res ["id" ]
2527 print (f"Sandbox started: { sandbox_id } " )
2628 yield sandbox_id
@@ -42,7 +44,9 @@ def setup_execution_id(admin_session: SandboxRestApiSession, sandbox_id: str):
4244 counter += 1
4345
4446 print ("Rerunning Setup..." )
45- res = admin_session .run_sandbox_command (sandbox_id = sandbox_id , command_name = BLUEPRINT_SETUP_COMMAND )
47+ res = admin_session .run_sandbox_command (
48+ sandbox_id = sandbox_id , command_name = BLUEPRINT_SETUP_COMMAND
49+ )
4650 assert type (res ) is dict
4751 print ("Setup re-run execution response" )
4852 pretty_print_response (res )
@@ -73,8 +77,13 @@ def test_get_sandbox_commands(admin_session, sandbox_id):
7377 commands_res = admin_session .get_sandbox_commands (sandbox_id )
7478 assert type (commands_res ) is list
7579 print (f"Sandbox commands: { [x ['name' ] for x in commands_res ]} " )
76- first_sb_command = admin_session .get_sandbox_command_details (sandbox_id , commands_res [0 ]["name" ])
77- print (f"SB command name: { first_sb_command ['name' ]} \n " f"description: { first_sb_command ['description' ]} " )
80+ first_sb_command = admin_session .get_sandbox_command_details (
81+ sandbox_id , commands_res [0 ]["name" ]
82+ )
83+ print (
84+ f"SB command name: { first_sb_command ['name' ]} \n "
85+ f"description: { first_sb_command ['description' ]} "
86+ )
7887
7988
8089def test_get_sandbox_events (admin_session , sandbox_id ):
0 commit comments