(self)
| 993 | self.assertEqual(member.metadata['sensitive'], True) |
| 994 | |
| 995 | def test_error_shape_metadata(self): |
| 996 | shapes = { |
| 997 | 'ResourceNotFoundException': { |
| 998 | 'type': 'structure', |
| 999 | 'members': { |
| 1000 | 'message': { |
| 1001 | 'shape': 'ErrorMessage', |
| 1002 | } |
| 1003 | }, |
| 1004 | 'exception': True, |
| 1005 | 'retryable': {'throttling': True}, |
| 1006 | } |
| 1007 | } |
| 1008 | resolver = model.ShapeResolver(shapes) |
| 1009 | shape = resolver.get_shape_by_name('ResourceNotFoundException') |
| 1010 | self.assertEqual( |
| 1011 | shape.metadata, |
| 1012 | {'exception': True, 'retryable': {'throttling': True}}, |
| 1013 | ) |
| 1014 | |
| 1015 | def test_shape_list(self): |
| 1016 | shapes = { |
nothing calls this directly
no test coverage detected