def METHOD_NAME(self):
    with tempfile.TemporaryDirectory() as tempdir:
        os.mkdir(os.path.join(tempdir, "output"))
        model = calliope.examples.national_scale(
            scenario="spores",
            override_dict={
                "run.spores_options.save_per_spore": True,
                "run.spores_options.save_per_spore_path": os.path.join(
                    tempdir, "output/spore_{}.nc"
                ),
            },
        )
        model.build()
        model.solve()
        for i in ["0", "1", "2", "3"]:
            assert os.path.isfile(os.path.join(tempdir, "output", f"spore_{i}.nc"))
        assert not os.path.isfile(os.path.join(tempdir, "output.nc"))