File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def cmd(self, macaron_cmd: str) -> list[str]:
216
216
return self .options ["cmd" ].strip ().split ()
217
217
218
218
219
- class SchemaStepOptions (TypedDict ):
219
+ class ValidateSchemaStepOptions (TypedDict ):
220
220
"""The configuration options of a schema validation step."""
221
221
222
222
kind : str
@@ -226,7 +226,7 @@ class SchemaStepOptions(TypedDict):
226
226
227
227
228
228
@dataclass
229
- class SchemaStep (Step [SchemaStepOptions ]):
229
+ class ValidateSchemaStep (Step [ValidateSchemaStepOptions ]):
230
230
"""A schema validation step in a test case, which allows for validating a file against a schema."""
231
231
232
232
@staticmethod
@@ -561,7 +561,7 @@ def gen_step_schema(cwd: str, check_expected_result_files: bool) -> cfgv.Map:
561
561
condition_key = "kind" ,
562
562
condition_value = "validate_schema" ,
563
563
key = "options" ,
564
- schema = SchemaStep .options_schema (
564
+ schema = ValidateSchemaStep .options_schema (
565
565
cwd = cwd ,
566
566
check_expected_result_files = check_expected_result_files ,
567
567
),
@@ -783,7 +783,7 @@ def parse_step_config(step_id: int, step_config: Mapping) -> Step:
783
783
"verify" : VerifyStep ,
784
784
"shell" : ShellStep ,
785
785
"compare" : CompareStep ,
786
- "validate_schema" : SchemaStep ,
786
+ "validate_schema" : ValidateSchemaStep ,
787
787
}[kind ]
788
788
return step_cls ( # type: ignore # https://github.com/python/mypy/issues/3115
789
789
step_id = step_id ,
You can’t perform that action at this time.
0 commit comments