def METHOD_NAME(self):
    """Is an error raised when required attributes are missing?"""
    for missing_attribute in Hirshfeld.required_attrs:
        self.parse()
        delattr(self.data, missing_attribute)
        with pytest.raises(MissingAttributeError):
            trialBader = Hirshfeld(
                self.data, self.volume, os.path.dirname(os.path.realpath(__file__))
            )