Fix unit test mock and remove unused variables

- Fix test_create_deployment to mock versions().create() call
- Remove unused process_type and user_access_level variables
This commit is contained in:
sam-ent
2026-01-14 00:28:16 +00:00
parent 089e5a088c
commit 58efda24eb
2 changed files with 9 additions and 5 deletions

View File

@@ -669,11 +669,9 @@ async def _list_script_processes_impl(
for i, process in enumerate(processes, 1):
function_name = process.get("functionName", "Unknown")
process_type = process.get("processType", "Unknown")
process_status = process.get("processStatus", "Unknown")
start_time = process.get("startTime", "Unknown")
duration = process.get("duration", "Unknown")
user_access_level = process.get("userAccessLevel", "Unknown")
output.append(f"{i}. {function_name}")
output.append(f" Status: {process_status}")