def METHOD_NAME(self, parts):
    snapcraft_yaml = fixture_setup.SnapcraftYaml(self.path)
    snapcraft_yaml.update_part("part1", dict(plugin="nil"))
    for part_name, part in parts:
        snapcraft_yaml.update_part(part_name, part)
    self.useFixture(snapcraft_yaml)
    project = Project(
        snapcraft_yaml_file_path=snapcraft_yaml.snapcraft_yaml_file_path
    )
    return project_loader.load_config(project)