File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
operatorcert/static_tests/common
tests/static_tests/common Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,9 @@ def check_bundle_release_config(bundle: Bundle) -> Iterator[CheckResult]:
167167 )
168168
169169
170- def validate_schema_bundle_release_config (bundle : Bundle ) -> Iterator [CheckResult ]:
170+ def check_validate_schema_bundle_release_config (
171+ bundle : Bundle ,
172+ ) -> Iterator [CheckResult ]:
171173 """
172174 Validate the bundle release config against the json schema
173175 """
Original file line number Diff line number Diff line change 66from operatorcert .static_tests .common .bundle import (
77 check_operator_name ,
88 check_bundle_release_config ,
9- validate_schema_bundle_release_config ,
9+ check_validate_schema_bundle_release_config ,
1010)
1111from tests .utils import bundle_files , create_files
1212
@@ -636,7 +636,7 @@ def test_check_bundle_release_config(
636636 ],
637637 indirect = False ,
638638)
639- def test_validate_schema_bundle_release_config (
639+ def test_check_validate_schema_bundle_release_config (
640640 tmp_path : Path ,
641641 files : list [dict [str , Any ]],
642642 bundle_to_check : tuple [str , str ],
@@ -648,5 +648,6 @@ def test_validate_schema_bundle_release_config(
648648 operator = repo .operator (operator_name )
649649 bundle = operator .bundle (bundle_version )
650650 assert {
651- (x .__class__ , x .reason ) for x in validate_schema_bundle_release_config (bundle )
651+ (x .__class__ , x .reason )
652+ for x in check_validate_schema_bundle_release_config (bundle )
652653 } == expected_results
You can’t perform that action at this time.
0 commit comments