Skip to content

Commit

Permalink
DX: provide ids for hash tests
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Dec 19, 2024
1 parent 1e912e1 commit 5eeda7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sympy/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
("7db2db79aa9f7bd4caca01a2082f4638", dict(real=True)),
("12c6c97d066784a23076bf172eb86260", dict(rational=True)),
],
ids=["symbol", "symbol-real", "symbol-rational"],
)
def test_get_readable_hash(
assumptions: dict, expected_hash: str, caplog: LogCaptureFixture
Expand Down Expand Up @@ -65,6 +66,7 @@ class TestLargeHash:
("de995528a15267dd3a72fe6c5dfa6136", "canonical-helicity"),
("61c08ea813390cfbae8b083a89a5673a", "helicity"),
],
ids=["canonical-helicity", "helicity"],
)
def test_reaction(self, expected_hash: str, formalism: SpinFormalism):
reaction = qrules.generate_transitions(
Expand All @@ -82,6 +84,7 @@ def test_reaction(self, expected_hash: str, formalism: SpinFormalism):
("0047c8be9e94ec7d5d0e0a326b9f7266", "canonical-helicity"),
("562d5f1390b56ddb83149d2218ff4aea", "helicity"),
],
ids=["canonical-helicity", "helicity"],
)
def test_amplitude_model(self, expected_hash: str, formalism: SpinFormalism):
reaction = qrules.generate_transitions(
Expand Down

0 comments on commit 5eeda7e

Please sign in to comment.