def test_is_copyright_correct__intel_copyright__correct_3(self): comments = get_leading_comments( self.test_copyright_sampl["intel_actual_copyright_v3"]) ret = self.copyright_checker.is_copyright_correct(comments) assert ret is True
def test_is_copyright_correct__intel_copyright__incorrect_v2(self): comments = get_leading_comments( self.test_copyright_sampl["intel_bad_copyright_v2"]) ret = self.copyright_checker.is_copyright_correct(comments) assert ret is False
def test_is_copyright_correct__third_party_copyright__incorrect(self): comments = get_leading_comments( self.test_copyright_sampl['android_bad_copyright']) ret = self.copyright_checker.is_copyright_correct(comments) assert ret is False