def METHOD_NAME(self):
    all_warning_names = set(warning.name for warning in WARNINGS)
    warning_choice_names = set(
        choice[0] for choice in DirectoryEntry.WARNING_CHOICES
    )
    self.assertEqual(all_warning_names, warning_choice_names)