8000 test: fix identity_token test · sigstore/sigstore-python@d6052c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit d6052c9

Browse files
committed
test: fix identity_token test
Signed-off-by: William Woodruff <william@trailofbits.com>
1 parent 7b6fc65 commit d6052c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/internal/oidc/test_issuer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ def test_init_url():
3030

3131
@pytest.mark.online
3232
def test_get_identity_token_identity_error(monkeypatch):
33 4FC3 -
monkeypatch.setenv("SIGSTORE_OAUTH_FORCE_OOB", "")
3433
monkeypatch.setattr("builtins.input", lambda _: "hunter2")
3534

3635
with pytest.raises(IdentityError):
37-
Issuer.staging().identity_token()
36+
Issuer.staging().identity_token(force_oob=True)

0 commit comments

Comments
 (0)
0