@@ -87,8 +87,7 @@ def _scratch_zip(self, name, *entries):
8787 """Creates a scratch ZIP file with the given entries.
8888
8989 The scratch ZIP's path, which is returned by this function, can then be
90- passed into the bunlder as one of its `bundle_merge_zips` or
91- `root_merge_zips`.
90+ passed into the bunlder as one of its `bundle_merge_zips`.
9291
9392 Args:
9493 name: The name of the ZIP file.
@@ -234,33 +233,6 @@ def test_bundle_merge_zips_propagates_executable(self):
234233 with zipfile .ZipFile (out_zip , 'r' ) as z :
235234 self ._assert_zip_contains (z , 'Payload/foo.app/foo.bundle/some.exe' , True )
236235
237- def test_root_merge_zips (self ):
238- support_zip = self ._scratch_zip ('support.zip' , 'SomeSupport/some.dylib' )
239- out_zip = _run_bundler ({
240- 'bundle_path' : 'Payload/foo.app' ,
241- 'root_merge_zips' : [{'src' : support_zip , 'dest' : '.' }],
242- })
243- with zipfile .ZipFile (out_zip , 'r' ) as z :
244- self ._assert_zip_contains (z , 'SomeSupport/some.dylib' )
245-
246- def test_root_merge_zips_with_different_destination (self ):
247- support_zip = self ._scratch_zip ('support.zip' , 'some.dylib' )
248- out_zip = _run_bundler ({
249- 'bundle_path' : 'Payload/foo.app' ,
250- 'root_merge_zips' : [{'src' : support_zip , 'dest' : 'SomeSupport' }],
251- })
252- with zipfile .ZipFile (out_zip , 'r' ) as z :
253- self ._assert_zip_contains (z , 'SomeSupport/some.dylib' )
254-
255- def test_root_merge_zips_propagates_executable (self ):
256- support_zip = self ._scratch_zip ('support.zip' , '*SomeSupport/some.dylib' )
257- out_zip = _run_bundler ({
258- 'bundle_path' : 'Payload/foo.app' ,
259- 'root_merge_zips' : [{'src' : support_zip , 'dest' : '.' }],
260- })
261- with zipfile .ZipFile (out_zip , 'r' ) as z :
262- self ._assert_zip_contains (z , 'SomeSupport/some.dylib' , True )
263-
264236 def test_duplicate_files_with_same_content_are_allowed (self ):
265237 foo_txt = self ._scratch_file ('foo.txt' , 'foo' )
266238 bar_txt = self ._scratch_file ('bar.txt' , 'foo' )
0 commit comments