Skip to content

Commit

Permalink
better test naming ids
Browse files Browse the repository at this point in the history
  • Loading branch information
JoschD committed Sep 13, 2024
1 parent 9bb2bb7 commit cd742ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_hole_in_one.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

@pytest.mark.exteded
@pytest.mark.parametrize("which_files", ("SINGLE", "0Hz", "all"))
@pytest.mark.parametrize("clean", (True, False))
@pytest.mark.parametrize("clean", (True, False), ids=lambda val : f"clean={val}")
def test_hole_in_one(tmp_path, clean, which_files):
"""
Test that is closely related to how actual analysis are done.
Expand Down Expand Up @@ -93,7 +93,7 @@ def test_hole_in_one(tmp_path, clean, which_files):

@pytest.mark.extended
@pytest.mark.parametrize("which_files", ("SINGLE", "0Hz", "all"))
@pytest.mark.parametrize("clean", (True, False))
@pytest.mark.parametrize("clean", (True, False), ids=lambda val : f"clean={val}")
def test_hole_in_one_in_one(tmp_path, clean, which_files):
"""
This test runs harpy, optics and optics analysis in one.
Expand All @@ -103,7 +103,7 @@ def test_hole_in_one_in_one(tmp_path, clean, which_files):
hole_in_one_entrypoint(
harpy=True,
optics=True,
clean=True,
clean=clean,
output_bits=8,
turn_bits=10,
autotunes="transverse",
Expand Down

0 comments on commit cd742ab

Please sign in to comment.