mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-27 16:26:39 +00:00
[tests] Fix ruff linting errors
Remove trailing whitespace from blank lines
This commit is contained in:
parent
cb66a887af
commit
82c1852390
@ -187,7 +187,7 @@ def test_response_schema_validation(
|
|||||||
for device in response_data.get('devices', []):
|
for device in response_data.get('devices', []):
|
||||||
if 'index' in device and device['index'] is None:
|
if 'index' in device and device['index'] is None:
|
||||||
del device['index']
|
del device['index']
|
||||||
|
|
||||||
# Validate the response
|
# Validate the response
|
||||||
validation_result = validate_response(
|
validation_result = validate_response(
|
||||||
response_data,
|
response_data,
|
||||||
@ -254,7 +254,7 @@ def test_system_stats_response(require_server, api_client, api_spec: Dict[str, A
|
|||||||
for device in stats.get('devices', []):
|
for device in stats.get('devices', []):
|
||||||
if 'index' in device and device['index'] is None:
|
if 'index' in device and device['index'] is None:
|
||||||
del device['index']
|
del device['index']
|
||||||
|
|
||||||
# Perform schema validation
|
# Perform schema validation
|
||||||
validation_result = validate_response(
|
validation_result = validate_response(
|
||||||
stats,
|
stats,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user