solve network: update mock snakemake

This commit is contained in:
Fabian 2023-07-19 18:15:26 +02:00
parent 4ff7bbbd2a
commit c7ef8e8c64

View File

@ -645,17 +645,15 @@ def solve_network(n, config, solving, opts="", **kwargs):
return n
# %%
if __name__ == "__main__":
if "snakemake" not in globals():
from _helpers import mock_snakemake
snakemake = mock_snakemake(
"solve_network",
# configfiles="test/config.overnight.yaml",
simpl="",
opts="Co2L",
clusters="37c",
opts="Ept",
clusters="37",
ll="v1.0",
sector_opts="",
planning_horizons="2020",