def METHOD_NAME(self):
    self.assertEqual(
        set(self.component.alert_set.values_list("name", flat=True)),
        {
            "DuplicateLanguage",
            "DuplicateString",
            "BrokenBrowserURL",
            "BrokenProjectURL",
        },
    )
    self.component.enforced_checks = ["es_format"]
    self.component.save()
    self.assertEqual(
        set(self.component.alert_set.values_list("name", flat=True)),
        {
            "DuplicateLanguage",
            "DuplicateString",
            "BrokenBrowserURL",
            "BrokenProjectURL",
            "UnusedEnforcedCheck",
        },
    )