File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 62
62
from botocore .paginate import PageIterator , ResultKeyIterator
63
63
from botocore .parsers import (
64
64
PROTOCOL_PARSERS ,
65
+ BaseRpcV2Parser ,
65
66
EC2QueryParser ,
66
67
JSONParser ,
67
68
QueryParser ,
68
69
ResponseParser ,
69
70
ResponseParserFactory ,
70
71
RestJSONParser ,
71
72
RestXMLParser ,
73
+ RpcV2CBORParser ,
72
74
create_parser ,
73
75
)
74
76
from botocore .regions import EndpointRulesetResolver
@@ -846,12 +848,30 @@ def test_protocol_parsers():
846
848
'3cf7bb1ecff0d72bafd7e7fd6625595b4060abd6' ,
847
849
},
848
850
),
851
+ (
852
+ BaseRpcV2Parser ._do_parse ,
853
+ {
854
+ 'e2d884a116d830f57c5ca41f315d3baac49372eb' ,
855
+ },
856
+ ),
849
857
(
850
858
RestJSONParser ._create_event_stream ,
851
859
{
852
860
'0564ba55383a71cc1ba3e5be7110549d7e9992f5' ,
853
861
},
854
862
),
863
+ (
864
+ RpcV2CBORParser .EVENT_STREAM_PARSER_CLS ,
865
+ {
866
+ '10c1f773f07e22929ecac791729c1a30a4091bd3' ,
867
+ },
868
+ ),
869
+ (
870
+ RpcV2CBORParser ._handle_event_stream ,
871
+ {
872
+ '2aa007aaca55b37c7e327b7ef8c86237f19690cc' ,
873
+ },
874
+ ),
855
875
(
856
876
create_parser ,
857
877
{
You can’t perform that action at this time.
0 commit comments