@classmethod
    def _build(cls, target_class, addon='s3', *args, **kwargs):
        instance = ProjectFactory._build(target_class, *args, **kwargs)
        auth = Auth(user=instance.creator)
        instance.add_addon(addon, auth)
        instance.creator.add_addon(addon)
        return instance
Build an object without saving it.
dataset/ETHPy150Open CenterForOpenScience/osf.io/tests/factories.py/ProjectWithAddonFactory._build