Skip to content

Commit 1f7eb85

Browse files
committed
Changed test method name
1 parent a90e019 commit 1f7eb85

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_avro_client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ def test_avro_encoder_instance(self, requests_mock):
3232
@pytest.fixture
3333
def test_avro_decoder_instance(self, requests_mock):
3434
requests_mock.get(
35-
'https://test_schema_url', text=json.dumps(_TEST_SCHEMA))
35+
'https://test_schema_url', text=json.dumps(LOCATION_NEW))
36+
# requests_mock.get(
37+
# 'https://test_schema_url', text=json.dumps(_TEST_SCHEMA))
3638
return AvroDecoder('https://test_schema_url')
3739

3840
def test_get_json_schema(self, test_avro_encoder_instance,
@@ -92,7 +94,7 @@ def test_encode_batch_error(self, test_avro_encoder_instance):
9294
with pytest.raises(AvroClientError):
9395
test_avro_encoder_instance.encode_batch(BAD_BATCH)
9496

95-
def test_decode_record_binary(self, test_avro_decoder_instance):
97+
def test_decode_record(self, test_avro_decoder_instance):
9698
TEST_DECODED_RECORD = {"patron_id": 123, "library_branch": "aa"}
9799
TEST_ENCODED_RECORD = b'\xf6\x01\x02\x04aa'
98100
assert test_avro_decoder_instance.decode_record(

0 commit comments

Comments
 (0)