From 5f09fce7658023eff9d122352401dafc5b4f7d8d Mon Sep 17 00:00:00 2001 From: omer-vishlitzky Date: Tue, 21 Apr 2026 20:44:52 +0300 Subject: [PATCH] MGMT-22635: fix test defaults for CI environment - Change default CLI binary from fulfillment-cli to osac - Fix OSAC_NETWORK_CLASS default from osac.templates.cudn_net to cudn_net to match actual NetworkClass implementation_strategy --- tests/conftest.py | 2 +- tests/vmaas/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index b75c30c3..b29b28c1 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,7 +44,7 @@ def k8s_hub_client(namespace: str) -> K8sClient: @pytest.fixture(scope="session") def cli(namespace: str, fulfillment_address: str, service_account: str) -> FulfillmentCLI: return FulfillmentCLI( - binary=env("FULFILLMENT_CLI_PATH", "fulfillment-cli"), + binary=env("FULFILLMENT_CLI_PATH", "osac"), address=f"https://{fulfillment_address.rsplit(':', 1)[0]}", token_script=f"oc create token -n {namespace} {service_account} --as system:admin", namespace=namespace, diff --git a/tests/vmaas/conftest.py b/tests/vmaas/conftest.py index a2de0d95..dcc2150a 100644 --- a/tests/vmaas/conftest.py +++ b/tests/vmaas/conftest.py @@ -21,4 +21,4 @@ def vm_template() -> str: @pytest.fixture(scope="session") def network_class() -> str: - return env("OSAC_NETWORK_CLASS", "osac.templates.cudn_net") + return env("OSAC_NETWORK_CLASS", "cudn_net")