@@ -526,7 +526,7 @@ async def test_set_record_streams_pre_encoded_file_like_value_async(
526526 assert captured_records [0 ].get_data () == compressed
527527
528528
529- _GET_RECORD_CASES = [
529+ GET_RECORD_CASES = [
530530 pytest .param ('application/json' , b'{"a": 1}' , {'a' : 1 }, id = 'json is parsed' ),
531531 pytest .param ('application/json; charset=utf-8' , b'[1, 2]' , [1 , 2 ], id = 'json with parameters is parsed' ),
532532 pytest .param ('application/json-patch+json' , b'[{"op": "remove"}]' , [{'op' : 'remove' }], id = '+json is parsed' ),
@@ -537,7 +537,7 @@ async def test_set_record_streams_pre_encoded_file_like_value_async(
537537]
538538
539539
540- @pytest .mark .parametrize (('content_type' , 'body' , 'expected_value' ), _GET_RECORD_CASES )
540+ @pytest .mark .parametrize (('content_type' , 'body' , 'expected_value' ), GET_RECORD_CASES )
541541def test_get_record_decodes_value_by_content_type_sync (
542542 * , httpserver : HTTPServer , api_url : str , content_type : str , body : bytes , expected_value : Any
543543) -> None :
@@ -551,7 +551,7 @@ def test_get_record_decodes_value_by_content_type_sync(
551551 assert record ['value' ] == expected_value
552552
553553
554- @pytest .mark .parametrize (('content_type' , 'body' , 'expected_value' ), _GET_RECORD_CASES )
554+ @pytest .mark .parametrize (('content_type' , 'body' , 'expected_value' ), GET_RECORD_CASES )
555555async def test_get_record_decodes_value_by_content_type_async (
556556 * , httpserver : HTTPServer , api_url : str , content_type : str , body : bytes , expected_value : Any
557557) -> None :
0 commit comments