Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDK - Simplified type compatibility tests (#1004)
Simplified the type compatibility tests by removing component inputs/outputs and properties that are not required for the tests to work. Renamed (+split) some of the tests: `test_type_check_all_with_types` -> `test_type_compatibility_check_for_simple_types` + `test_type_compatibility_check_for_types_with_parameters` `test_type_check_with_lacking_types` -> `test_type_compatibility_check_when_input_type_is_missing` + `test_type_compatibility_check_when_argument_type_is_missing` `test_type_check_with_inconsistent_types_property_value` -> `test_fail_type_compatibility_check_when_type_property_value_is_different` `test_type_check_with_inconsistent_types_type_name` -> `test_fail_type_compatibility_check_when_simple_type_name_is_different + test_fail_type_compatibility_check_when_parametrized_type_name_is_different` `test_type_check_with_consistent_types_nonnamed_inputs` -> `test_type_compatibility_check_when_using_positional_arguments` `test_type_check_with_inconsistent_types_disabled` ->` test_type_compatibility_check_not_failing_when_disabled` `test_type_check_with_openapi_shema` -> `test_type_compatibility_check_for_types_with_schema` `test_type_check_ignore_type` -> test_fail_type_compatibility_check_for_types_with_different_schemas` + `test_type_compatibility_check_not_failing_when_type_is_ignored` Added two disabled tests: `test_type_compatibility_check_when_argument_type_has_extra_type_parameters` `test_fail_type_compatibility_check_when_argument_type_has_missing_type_parameters`
- Loading branch information