@@ -366,35 +366,6 @@ def test_get_validation_rule_based_fields_with_explicit_type(
366366 assert pattern == expected_pattern
367367
368368
369- @pytest .mark .parametrize (
370- "validation_rules, explicit_type" ,
371- [
372- (["str" ], JSONSchemaType .INTEGER ),
373- (["inRange 50 100" ], JSONSchemaType .STRING ),
374- (["regex search [a-f]" ], JSONSchemaType .INTEGER ),
375- (["date" ], JSONSchemaType .INTEGER ),
376- (["url" ], JSONSchemaType .INTEGER ),
377- ],
378- ids = [
379- "String rule, integer type" ,
380- "InRange rule, string type" ,
381- "Regex rule, integer type" ,
382- "Date rule, integer type" ,
383- "Url rule, integer type" ,
384- ],
385- )
386- def test_get_validation_rule_based_fields_with_exception (
387- validation_rules : list [str ],
388- explicit_type : JSONSchemaType ,
389- ) -> None :
390- """
391- Test for _get_validation_rule_based_fields
392- Tests that output is expected based on the input validation rules, and explicit type
393- """
394- with pytest .raises (ValueError ):
395- _get_validation_rule_based_fields (validation_rules , explicit_type , "name" )
396-
397-
398369class TestGraphTraversalState :
399370 """Tests for GraphTraversalState class"""
400371
0 commit comments