def METHOD_NAME(self, *parts):
    path = os.path.join(*parts)
    if not os.path.exists(path):
        msg = self._formatMessage(None, f"The path '{path}' does not exist")
        raise self.failureException(msg)