Skip to content

Commit 759b475

Browse files
committed
add gemini recommendation
1 parent abc81cf commit 759b475

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdks/python/apache_beam/yaml/yaml_transform_unit_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,7 @@ def test_expand_pipeline_with_incorrect_pipelines_key_fails(self):
10991099
with self.assertRaises(KeyError):
11001100
expand_pipeline(p, spec, validate_schema=None)
11011101

1102+
@unittest.skipIf(jsonschema is None, "Yaml dependencies not installed")
11021103
def test_expand_pipeline_with_valid_schema(self):
11031104
spec = '''
11041105
pipeline:
@@ -1112,6 +1113,7 @@ def test_expand_pipeline_with_valid_schema(self):
11121113
with new_pipeline() as p:
11131114
expand_pipeline(p, spec, validate_schema='generic')
11141115

1116+
@unittest.skipIf(jsonschema is None, "Yaml dependencies not installed")
11151117
def test_expand_pipeline_with_invalid_schema(self):
11161118
spec = '''
11171119
pipeline:

0 commit comments

Comments
 (0)