Skip to content

Commit 790bbcd

Browse files
committed
add missing fixtures
1 parent 285ba41 commit 790bbcd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scripts/release/conftest.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
import json
12
import os
23
import shutil
34
import tempfile
5+
from typing import Dict
46

57
from _pytest.fixtures import fixture
68
from git import Repo
79

10+
from scripts.release.build.conftest import get_manually_upgradable_versions
811
from scripts.release.constants import DEFAULT_CHANGELOG_PATH
912

1013

@@ -162,3 +165,13 @@ def add_file(repo_path: str, src_file_path: str, dst_file_path: str | None = Non
162165
src_path = os.path.join("scripts/release/testdata", src_file_path)
163166

164167
return shutil.copy(src_path, dst_path)
168+
169+
170+
@fixture(scope="module")
171+
def readinessprobe_version() -> str:
172+
return get_manually_upgradable_versions()["readinessprobe"]
173+
174+
175+
@fixture(scope="module")
176+
def operator_version_upgrade_post_start_hook_version() -> str:
177+
return get_manually_upgradable_versions()["operator_version_upgrade_post_start_hook"]

0 commit comments

Comments
 (0)