def test_annotated_results(self):

        self.annotate_message(idx=1, ignore_duplicates=True)
        assert ValidationAnnotation.objects.count() == 1

        self.annotate_message(idx=1, ignore_duplicates=False)
        assert ValidationAnnotation.objects.count() == 1

        self.annotate_message(idx=2, ignore_duplicates=True)
        assert ValidationAnnotation.objects.count() == 2
Test that annotations result in modified results and the expected
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_views_validation.py/TestFileAnnotation.test_annotated_results