Skip to content

Commit 4b6d774

Browse files
committed
Add missing patch test cases
1 parent d2adf81 commit 4b6d774

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/test_patches.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@
6262
from botocore.paginate import PageIterator, ResultKeyIterator
6363
from botocore.parsers import (
6464
PROTOCOL_PARSERS,
65+
BaseRpcV2Parser,
6566
EC2QueryParser,
6667
JSONParser,
6768
QueryParser,
6869
ResponseParser,
6970
ResponseParserFactory,
7071
RestJSONParser,
7172
RestXMLParser,
73+
RpcV2CBORParser,
7274
create_parser,
7375
)
7476
from botocore.regions import EndpointRulesetResolver
@@ -846,12 +848,30 @@ def test_protocol_parsers():
846848
'3cf7bb1ecff0d72bafd7e7fd6625595b4060abd6',
847849
},
848850
),
851+
(
852+
BaseRpcV2Parser._do_parse,
853+
{
854+
'e2d884a116d830f57c5ca41f315d3baac49372eb',
855+
},
856+
),
849857
(
850858
RestJSONParser._create_event_stream,
851859
{
852860
'0564ba55383a71cc1ba3e5be7110549d7e9992f5',
853861
},
854862
),
863+
(
864+
RpcV2CBORParser.EVENT_STREAM_PARSER_CLS,
865+
{
866+
'10c1f773f07e22929ecac791729c1a30a4091bd3',
867+
},
868+
),
869+
(
870+
RpcV2CBORParser._handle_event_stream,
871+
{
872+
'2aa007aaca55b37c7e327b7ef8c86237f19690cc',
873+
},
874+
),
855875
(
856876
create_parser,
857877
{

0 commit comments

Comments
 (0)