Skip to content

Commit 37c9016

Browse files
introduce checkout release contract
1 parent e63caf2 commit 37c9016

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

services/api-server/tests/unit/pact_broker/test_pact_checkout_release.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# pylint: disable=too-many-arguments
55

66

7+
import os
8+
79
import pytest
810
from fastapi import FastAPI
911
from models_library.api_schemas_webserver.licensed_items_checkouts import (
@@ -105,10 +107,10 @@ async def mock_rut_server_rpc(app: FastAPI, mocker: MockerFixture) -> MockerFixt
105107
return mocker
106108

107109

108-
# @pytest.mark.skipif(
109-
# not os.getenv("PACT_BROKER_URL"),
110-
# reason="This test runs only if PACT_BROKER_URL is provided",
111-
# )
110+
@pytest.mark.skipif(
111+
not os.getenv("PACT_BROKER_URL"),
112+
reason="This test runs only if PACT_BROKER_URL is provided",
113+
)
112114
def test_provider_against_pact(
113115
pact_broker_credentials: tuple[str, str, str],
114116
mock_wb_api_server_rpc: MockerFixture,

0 commit comments

Comments
 (0)