File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -718,10 +718,11 @@ def test_update_about_resource_no_about_file_field_exist(self):
718718 gen = genabout .GenAbout ()
719719 test_fields = {'about_resource' : 'test.c' ,
720720 'about_file' : '/tmp/test.c' }
721+ expected_fields = {'about_resource' : 'test.c' ,
722+ 'about_file' : '/tmp/test.c' }
721723 about_file_exist = False
722724 gen .update_about_resource (test_fields , about_file_exist )
723- # FIXME: this will always be true: the test is incorrect
724- self .assertTrue (test_fields == test_fields , 'The dict should not be changed.' )
725+ self .assertTrue (test_fields == expected_fields , 'The dict should not be changed.' )
725726
726727 def test_update_about_resource_no_about_file_no_field_isFile (self ):
727728 gen = genabout .GenAbout ()
You can’t perform that action at this time.
0 commit comments