Skip to content

Commit

Permalink
Added documentation examples to edisgo_documentation_examples.ipynb n…
Browse files Browse the repository at this point in the history
…otebook

Examples from the documentation (Minimum working exampes and Usage details) are now automatically tested within the notebook
  • Loading branch information
maike93he committed Sep 9, 2022
1 parent 5ef1506 commit f2e5f28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _notebook_run(self, path):
"--to",
"notebook",
"--execute",
"--ExecutePreprocessor.timeout=60",
"--ExecutePreprocessor.timeout=90",
]
subprocess.check_call(args)

Expand Down Expand Up @@ -76,6 +76,7 @@ def test_plot_example_ipynb(self):
# )
# assert errors == []

# @pytest.mark.slow
def test_edisgo_documentation_examples_ipynb(self):
examples_dir_path = os.path.join(
os.path.dirname(os.path.dirname(__file__)), "examples"
Expand Down

0 comments on commit f2e5f28

Please sign in to comment.