Skip to content

Commit

Permalink
chore: add TODO for improving hypothesis test of git_branch_output
Browse files Browse the repository at this point in the history
  • Loading branch information
tromai committed Dec 22, 2023
1 parent f6b9863 commit 6488d4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/slsa_analyzer/test_git_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ def test_parse_git_branch_output(content: str, expected_output: list[str]) -> No
assert git_url.parse_git_branch_output(content) == expected_output


# TODO: add the git branch output strategy which has the same properties as
# git branch where existing branch names are listed.
@given(st.text(min_size=10))
def test_parse_git_branch_output_with_random_input(content: str) -> None:
"""Test the parse git branch output function using random text input."""
Expand Down

0 comments on commit 6488d4a

Please sign in to comment.