'Gets an attribute of this fake module from its attrs.
@raise AttributeError: When the requested attribute is missing.'

def __getattr__(self, name):

    try:
        return self._attrs[name]
    except KeyError:
        raise AttributeError()
