Skip to content

Commit

Permalink
added some cases to test_can_analyze_annotations for completeness
Browse files Browse the repository at this point in the history
  • Loading branch information
edufnt committed Oct 4, 2024
1 parent 229102b commit 774912f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def test_can_analyze_annotations() -> None:
assert analyser.argument_has("arg3", AtRender, exhaustive=True) is False
assert analyser.argument_has("ARG2", AtRender, exhaustive=True) is False
assert analyser.argument_has("arg2", AtRender, exhaustive=True) is True
assert analyser.argument_has("arg2", AtRender, exhaustive=False) is True
assert (
analyser.argument_has("arg4", AtRender, exhaustive=True) is False
) # Not a global/argument
Expand All @@ -67,6 +68,7 @@ def test_can_analyze_annotations() -> None:
assert analyser.argument_has("arg7", AtRender, exhaustive=True) is False
assert analyser.argument_has("ARG2", AtRender, exhaustive=True) is False
assert analyser.argument_has("arg6", AtRender, exhaustive=True) is True
assert analyser.argument_has("arg6", AtRender, exhaustive=False) is True
assert (
analyser.argument_has("arg8", AtRender, exhaustive=True) is False
) # Not a global/argument
Expand Down

0 comments on commit 774912f

Please sign in to comment.