@@ -84,7 +84,7 @@ def test_blob_input_with_metadata_no_blob_properties(self):
8484 self .assertEqual (result .metadata , None )
8585
8686 def test_blob_input_with_metadata_no_trigger_metadata (self ):
87- sample_blob_properties = '{"Length ": "12"}'
87+ sample_blob_properties = '{"ContentLength ": "12"}'
8888 datum : Datum = Datum (value = b'blob_content' , type = 'bytes' )
8989 trigger_metadata : Dict [str , Any ] = {
9090 'Properties' : Datum (sample_blob_properties , 'json' ),
@@ -115,7 +115,7 @@ def test_blob_input_with_metadata_with_trigger_metadata(self):
115115 "LeaseStatus": 2,
116116 "LeaseState": 1,
117117 "LeaseDuration": 0,
118- "Length ": "12"
118+ "ContentLength ": "12"
119119}'''
120120 datum : Datum = Datum (value = b'blob_content' , type = 'bytes' )
121121 trigger_metadata : Dict [str , Any ] = {
@@ -139,7 +139,7 @@ def test_blob_input_with_metadata_with_trigger_metadata(self):
139139
140140 def test_blob_input_with_metadata_with_incorrect_trigger_metadata (self ):
141141 sample_metadata = 'Hello World'
142- sample_blob_properties = '''{"Length ": "12"}'''
142+ sample_blob_properties = '''{"ContentLength ": "12"}'''
143143 datum : Datum = Datum (value = b'blob_content' , type = 'bytes' )
144144 trigger_metadata : Dict [str , Any ] = {
145145 'Metadata' : Datum (sample_metadata , 'string' ),
0 commit comments