@@ -247,7 +247,9 @@ def test_get_data_parts_empty_list(self):
247247class TestGetFileParts :
248248 def test_get_file_parts_single_file_part (self ):
249249 # Setup
250- file_with_uri = FileWithUri (uri = 'file://path/to/file' , mimeType = 'text/plain' )
250+ file_with_uri = FileWithUri (
251+ uri = 'file://path/to/file' , mimeType = 'text/plain'
252+ )
251253 parts = [Part (root = FilePart (file = file_with_uri ))]
252254
253255 # Exercise
@@ -258,9 +260,12 @@ def test_get_file_parts_single_file_part(self):
258260
259261 def test_get_file_parts_multiple_file_parts (self ):
260262 # Setup
261- file_with_uri1 = FileWithUri (uri = 'file://path/to/file1' , mimeType = 'text/plain' )
263+ file_with_uri1 = FileWithUri (
264+ uri = 'file://path/to/file1' , mimeType = 'text/plain'
265+ )
262266 file_with_bytes = FileWithBytes (
263- bytes = 'ZmlsZSBjb250ZW50' , mimeType = 'application/octet-stream' # 'file content'
267+ bytes = 'ZmlsZSBjb250ZW50' ,
268+ mimeType = 'application/octet-stream' , # 'file content'
264269 )
265270 parts = [
266271 Part (root = FilePart (file = file_with_uri1 )),
@@ -275,7 +280,9 @@ def test_get_file_parts_multiple_file_parts(self):
275280
276281 def test_get_file_parts_mixed_parts (self ):
277282 # Setup
278- file_with_uri = FileWithUri (uri = 'file://path/to/file' , mimeType = 'text/plain' )
283+ file_with_uri = FileWithUri (
284+ uri = 'file://path/to/file' , mimeType = 'text/plain'
285+ )
279286 parts = [
280287 Part (root = TextPart (text = 'some text' )),
281288 Part (root = FilePart (file = file_with_uri )),
0 commit comments