@@ -93,7 +93,9 @@ def test_header_row_in_csv_output(self):
9393 'license_spdx,redistribute,attribute,track_changes,vcs_tool,' \
9494 'vcs_repository,vcs_path,vcs_tag,vcs_branch,vcs_revision,' \
9595 'checksum_sha1,checksum_md5,checksum_sha256,dje_component,' \
96- 'dje_license,dje_organization,dje_license_name,warnings,errors'
96+ 'dje_license,dje_organization,dje_license_name,scm_branch,' \
97+ 'scm_repository,signature_gpg_file,redistribute_sources,about_format,' \
98+ 'usage,scm_tool,scm_path,scm_tag,scm_rev,organization,warnings,errors'
9799
98100 input = "about_code_tool/tests/testdata/basic"
99101 temp_file = tempfile .NamedTemporaryFile (suffix = '.csv' , delete = True )
@@ -126,10 +128,9 @@ def test_collector_errors_encapsulation(self):
126128 def test_collector_warnings_encapsulation (self ):
127129 input_path = 'about_code_tool/tests/testdata/allAboutInOneDir'
128130 collector = about .AboutCollector (input_path )
129- print ("#####################################################" )
130- print (collector .warnings )
131- print (collector .errors )
132- self .assertEqual (4 , len (collector .warnings ))
131+ #self.assertEqual(4, len(collector.warnings))
132+ # No warning is throw as all fields from ABOUT files are accepted.
133+ self .assertEqual (0 , len (collector .warnings ))
133134
134135
135136class ParserTest (unittest .TestCase ):
0 commit comments