Skip to content

Commit 968a5a9

Browse files
adev-codekdaily
andauthored
Apply suggestion from @kdaily
Co-authored-by: Kenneth Daily <kdaily@amazon.com>
1 parent c2f2d40 commit 968a5a9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/unit/test_argprocess.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,8 +896,14 @@ def test_json_value_decode_error(self):
896896

897897
class TestArgumentPercentEscaping(BaseArgProcessTest):
898898
def _test_percent_escaping(self, arg_type, arg_class, doc_string):
899-
argument = self.create_argument({'Test': {'type': arg_type}})
900-
argument.argument_model.members['Test'].documentation = doc_string
899+
argument = self.create_argument(
900+
{
901+
'Test': {
902+
'type': arg_type,
903+
'documentation': doc_string,
904+
}
905+
}
906+
)
901907
arg = arg_class('test-arg', argument.argument_model.members['Test'], mock.Mock(), mock.Mock(), is_required=False)
902908
arg_table = {arg.name: arg}
903909
parser = ArgTableArgParser(arg_table)

0 commit comments

Comments
 (0)