(self, argument_model, argument_name=None)
| 58 | return cls(cli_arg_name, member_shape, mock.Mock(), is_required) |
| 59 | |
| 60 | def create_argument(self, argument_model, argument_name=None): |
| 61 | if argument_name is None: |
| 62 | argument_name = 'foo' |
| 63 | argument = mock.Mock() |
| 64 | m = model.DenormalizedStructureBuilder().with_members(argument_model) |
| 65 | argument.argument_model = m.build_model() |
| 66 | argument.name = argument_name |
| 67 | argument.cli_name = "--" + argument_name |
| 68 | return argument |
| 69 | |
| 70 | |
| 71 | class TestURIParams(BaseArgProcessTest): |
no test coverage detected