Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan343 committed Jan 8, 2025
1 parent 72d05f1 commit 8a12dbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/unit/protocols/protocol-tests-ignore-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@
}
}
}
}
}
13 changes: 7 additions & 6 deletions tests/unit/test_protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
import copy
import os
from base64 import b64decode
from calendar import timegm
from enum import Enum

import pytest
Expand Down Expand Up @@ -127,10 +126,10 @@ def _compliance_tests(test_type=None):
yield model, case, basename
elif 'response' in case and out:
if _should_ignore_test(
protocol,
"output",
model['description'],
case['id'],
protocol,
"output",
model['description'],
case['id'],
):
continue
yield model, case, basename
Expand Down Expand Up @@ -235,7 +234,9 @@ def test_output_compliance(json_description, case, basename):
else:
output_shape = operation_model.output_shape
if protocol == 'query' and output_shape and output_shape.members:
output_shape.serialization['resultWrapper'] = f'{operation_name}Result'
output_shape.serialization['resultWrapper'] = (
f'{operation_name}Result'
)
parsed = parser.parse(case['response'], output_shape)
parsed = _fixup_parsed_result(parsed)
except Exception as e:
Expand Down

0 comments on commit 8a12dbe

Please sign in to comment.