@@ -323,7 +323,7 @@ def test_exts_list(self):
323323 # SHA256 checksum for source (gzip-1.4.eb)
324324 ' "6f281b6d7a3965476324a23b9d80232bd4ffe3967da85e4b7c01d9d81d649a09",' ,
325325 # SHA256 checksum for 'patch' (toy-0.0.eb)
326- ' "044e300a051120defb01c14c7c06e9aa4bca40c5d589828df360e2684dcc9074 ",' ,
326+ ' "a79ba0ef5dceb5b8829268247feae8932bed2034c6628ff1d92c84bf45e9a546 ",' ,
327327 ' ],' ,
328328 ' }),' ,
329329 ']' ,
@@ -344,7 +344,7 @@ def test_exts_list(self):
344344 self .assertEqual (exts_sources [1 ]['version' ], '2.0' )
345345 self .assertEqual (exts_sources [1 ]['options' ], {
346346 'checksums' : ['6f281b6d7a3965476324a23b9d80232bd4ffe3967da85e4b7c01d9d81d649a09' ,
347- '044e300a051120defb01c14c7c06e9aa4bca40c5d589828df360e2684dcc9074 ' ],
347+ 'a79ba0ef5dceb5b8829268247feae8932bed2034c6628ff1d92c84bf45e9a546 ' ],
348348 'patches' : ['toy-0.0.eb' ],
349349 'source_tmpl' : 'gzip-1.4.eb' ,
350350 'source_urls' : [('http://example.com' , 'suffix' )],
@@ -1349,7 +1349,8 @@ def test_update(self):
13491349
13501350 # for list values: extend
13511351 ec .update ('patches' , ['foo.patch' , 'bar.patch' ])
1352- self .assertEqual (ec ['patches' ], ['toy-0.0_typo.patch' , ('toy-extra.txt' , 'toy-0.0' ), 'foo.patch' , 'bar.patch' ])
1352+ toy_patch_fn = 'toy-0.0_fix-silly-typo-in-printf-statement.patch'
1353+ self .assertEqual (ec ['patches' ], [toy_patch_fn , ('toy-extra.txt' , 'toy-0.0' ), 'foo.patch' , 'bar.patch' ])
13531354
13541355 def test_hide_hidden_deps (self ):
13551356 """Test use of --hide-deps on hiddendependencies."""
@@ -2009,7 +2010,8 @@ def test_categorize_files_by_type(self):
20092010 self .assertEqual ({'easyconfigs' : [], 'files_to_delete' : [], 'patch_files' : []}, categorize_files_by_type ([]))
20102011
20112012 test_ecs_dir = os .path .join (os .path .dirname (os .path .abspath (__file__ )), 'easyconfigs' ,)
2012- toy_patch = os .path .join (os .path .dirname (test_ecs_dir ), 'sandbox' , 'sources' , 'toy' , 'toy-0.0_typo.patch' )
2013+ toy_patch_fn = 'toy-0.0_fix-silly-typo-in-printf-statement.patch'
2014+ toy_patch = os .path .join (os .path .dirname (test_ecs_dir ), 'sandbox' , 'sources' , 'toy' , toy_patch_fn )
20132015 paths = [
20142016 'bzip2-1.0.6.eb' ,
20152017 os .path .join (test_ecs_dir , 'test_ecs' , 'g' , 'gzip' , 'gzip-1.4.eb' ),
0 commit comments