Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion benchmarks/benchmark_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pytest

from itzi import SimulationRunner
from itzi.configreader import ConfigReader
from itzi.profiler import profile_context

from tests.grass_tests.test_tutorial import ( # noqa: F401
Expand All @@ -20,8 +21,9 @@ def run_simulation(config_file, test_data_temp_path):
"""
profile_path = os.path.join(test_data_temp_path, "tutorial_profile.txt")
with profile_context(profile_path):
conf_data = ConfigReader(config_file)
sim_runner = SimulationRunner()
sim_runner.initialize(config_file)
sim_runner.initialize(conf_data)
sim_runner.run().finalize()


Expand Down
Loading