Skip to content

Commit

Permalink
Rename test, add to tested examples
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Nov 15, 2024
1 parent fd60624 commit e324f55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/examples_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ def test_advanced_ex06(self, tmp_path):
+ "/../examples/advanced/ex06_distributed_hyperparameter_optimization.py"
)

@pytest.mark.order(after="test_basic_ex01")
def test_advanced_ex09(self, tmp_path):
os.chdir(tmp_path)
runpy.run_path(
self.dir_path
+ "/../examples/advanced/ex10_convert_numpy_openpmd.py"
)

@pytest.mark.skipif(
importlib.util.find_spec("oapackage") is None,
reason="No OAT found on this machine, skipping this " "test.",
Expand Down

0 comments on commit e324f55

Please sign in to comment.