Lee-W commented on code in PR #70190:
URL: https://github.com/apache/airflow/pull/70190#discussion_r3713673470
##########
dev/registry/tests/test_types.py:
##########
@@ -93,6 +95,14 @@ def test_class_level_sections_are_subset_of_flat(self):
assert yaml_key in FLAT_LEVEL_SECTIONS
assert FLAT_LEVEL_SECTIONS[yaml_key] == type_id
+ def
test_class_level_category_overrides_are_subset_of_class_level_sections(self):
+ assert set(CLASS_LEVEL_CATEGORY_OVERRIDES.keys()) <=
set(CLASS_LEVEL_SECTIONS.keys())
+
+ def test_dict_shaped_class_level_sections_are_subset_of_flat(self):
Review Comment:
Added, with `transfers` and `task-decorators` as a named exemption set so
the reason they are excluded sits next to the assertion. Dropping a key from
`CLASS_LEVEL_SECTIONS` now failed the test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]