Skip to content

Commit d043256

Browse files
xfail on local and staging
Signed-off-by: Ramon Petgrave <[email protected]>
1 parent 3f94e7a commit d043256

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

test/unit/internal/rekor/test_client_v2.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
from sigstore import dsse
77
from sigstore._internal.rekor.client_v2 import (
88
DEFAULT_KEY_DETAILS,
9+
DEFAULT_REKOR_URL,
10+
STAGING_REKOR_URL,
911
Certificate,
1012
Hashed,
1113
LogEntry,
@@ -20,10 +22,19 @@
2022
from sigstore.sign import ec
2123

2224
ALPHA_REKOR_V2_URL = "https://log2025-alpha1.rekor.sigstage.dev"
25+
LOCAL_REKOR_V2_URL = "http://localhost:3000"
2326

2427

25-
# TODO: add staging and production URLs when available.
26-
@pytest.fixture(params=[ALPHA_REKOR_V2_URL])
28+
# TODO: add staging and production URLs when available,
29+
# and local after using scaffolding/setup-sigstore-env action
30+
@pytest.fixture(
31+
params=[
32+
ALPHA_REKOR_V2_URL,
33+
pytest.param(STAGING_REKOR_URL, marks=pytest.mark.xfail),
34+
pytest.param(DEFAULT_REKOR_URL, marks=pytest.mark.xfail),
35+
pytest.param(LOCAL_REKOR_V2_URL, marks=pytest.mark.xfail),
36+
]
37+
)
2738
def client(request) -> RekorV2Client:
2839
"""
2940
Returns a RekorV2Client. This fixture is paramaterized to return clients with various URLs.

0 commit comments

Comments
 (0)