Skip to content

Commit e490a88

Browse files
committed
test: drop underscore prefix from GET_RECORD_CASES
1 parent 48e7add commit e490a88

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/unit/test_key_value_store.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
541541
def 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)
555555
async 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

Comments
 (0)