Skip to content

Commit

Permalink
Introduce marker desc.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcschrg committed Nov 15, 2024
1 parent ea7756a commit 636b088
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ Homepage = "https://monee.readthedocs.io"
Repository = "https://monee.readthedocs.io"
Issues = "https://github.com/Digitalized-Energy-Systems/monee/issues"

[tool.pytest.ini_options]
markers = [
"pptest: marks tests as dependant on pandapower",
]

[tool.coverage.run]
omit = ["tests/*"]
Expand Down
6 changes: 5 additions & 1 deletion tests/simulation/test_timeseries.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import pytest

import monee.model as md
from monee.io.from_simbench import obtain_simbench_net_with_td
from monee.simulation.timeseries import run


@pytest.mark.pptest
def test_timeseries_with_simbench():
from monee.io.from_simbench import obtain_simbench_net_with_td

# GIVEN
steps = 3
net, td = obtain_simbench_net_with_td("1-LV-rural3--1-no_sw")
Expand Down

0 comments on commit 636b088

Please sign in to comment.