@@ -231,7 +231,7 @@ def test_get_dje_license_list_gen_license_with_dje_license_key_empty_license_tex
231231 gen_location = join (TESTDATA_PATH , "test_files_for_genabout/" )
232232 input_list = [{'about_file' : '/about.py.ABOUT' , 'version' : '0.8.1' ,
233233 'about_resource' : '.' , 'name' : 'ABOUT tool' ,
234- 'license_text_file' : '' , 'dje_license_key ' : 'apache-2.0' }]
234+ 'license_text_file' : '' , 'dje_license ' : 'apache-2.0' }]
235235 expected_output_list = [('/' , 'apache-2.0' )]
236236 gen_license = True
237237 lic_output_list = gen .get_dje_license_list (gen_location , input_list , gen_license )
@@ -244,7 +244,7 @@ def test_get_dje_license_list_gen_license_with_empty_dje_license_key_empty_licen
244244 gen_location = join (TESTDATA_PATH , "test_files_for_genabout/" )
245245 input_list = [{'about_file' : '/about.py.ABOUT' , 'version' : '0.8.1' ,
246246 'about_resource' : '.' , 'name' : 'ABOUT tool' ,
247- 'license_text_file' : '' , 'dje_license_key ' : '' }]
247+ 'license_text_file' : '' , 'dje_license ' : '' }]
248248 expected_output_list = []
249249 gen_license = True
250250 lic_output_list = gen .get_dje_license_list (gen_location , input_list , gen_license )
@@ -257,7 +257,7 @@ def test_get_dje_license_list_gen_license_with_dje_license_key_no_license_text_f
257257 gen_location = join (TESTDATA_PATH , "test_files_for_genabout/" )
258258 input_list = [{'about_file' : '/about.py.ABOUT' , 'version' : '0.8.1' ,
259259 'about_resource' : '.' , 'name' : 'ABOUT tool' ,
260- 'dje_license_key ' : 'apache-2.0' }]
260+ 'dje_license ' : 'apache-2.0' }]
261261 expected_output_list = [('/' , 'apache-2.0' )]
262262 gen_license = True
263263 lic_output_list = gen .get_dje_license_list (gen_location , input_list , gen_license )
@@ -433,7 +433,7 @@ def test_verify_license_files_no_key(self):
433433 def test_gen_license_list_license_text_file_no_value (self ):
434434 gen = genabout .GenAbout ()
435435 input_list = {'about_file' : '/tmp/3pp/opensans/' , 'name' : 'OpenSans Fonts' ,
436- 'version' : '1' , 'dje_license_key ' : 'apache-2.0' ,
436+ 'version' : '1' , 'dje_license ' : 'apache-2.0' ,
437437 'license_text_file' : '' , 'about_resource' : 'opensans' }
438438 expected_list = ('/tmp/3pp' , 'apache-2.0' )
439439 output = gen .gen_license_list (input_list )
@@ -443,7 +443,7 @@ def test_gen_license_list_license_text_file_no_value(self):
443443 def test_gen_license_list_no_license_text_file_key (self ):
444444 gen = genabout .GenAbout ()
445445 input_list = {'about_file' : '/tmp/3pp/opensans/' , 'name' : 'OpenSans Fonts' ,
446- 'version' : '1' , 'dje_license_key ' : 'apache-2.0' ,
446+ 'version' : '1' , 'dje_license ' : 'apache-2.0' ,
447447 'about_resource' : 'opensans' }
448448 expected_list = ('/tmp/3pp' , 'apache-2.0' )
449449 output = gen .gen_license_list (input_list )
0 commit comments