Skip to content

Commit

Permalink
conftest: Add --identity-token option back
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Cameron <[email protected]>
  • Loading branch information
tetsuo-cpp committed May 26, 2023
1 parent 5766a8a commit ba0722e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def pytest_addoption(parser):
"""
Add the `--entrypoint` flag to the `pytest` CLI.
Add the `--entrypoint` and `--identity-token` flags to the `pytest` CLI.
"""
parser.addoption(
"--entrypoint",
Expand All @@ -25,6 +25,13 @@ def pytest_addoption(parser):
required=True,
type=str,
)
parser.addoption(
"--identity-token",
action="store",
help="the OIDC token to supply to the Sigstore client under test",
required=True,
type=str,
)


@pytest.fixture
Expand Down

0 comments on commit ba0722e

Please sign in to comment.