amoghrajesh commented on code in PR #44366:
URL: https://github.com/apache/airflow/pull/44366#discussion_r1858308442
##########
tests/api_fastapi/core_api/routes/public/test_xcom.py:
##########
@@ -203,3 +208,279 @@ def test_custom_xcom_deserialize(
else:
assert response.status_code == 200
assert response.json()["value"] == expected_status_or_value
+
+
+class TestGetXComEntries(TestXComEndpoint):
+ @pytest.fixture(autouse=True)
+ def setup(self) -> None:
+ self.clear_db()
Review Comment:
We shouldn't be needing this because setup and teardown are defined in
class: `TestXComEndpoint` which `TestGetXComEntries` inherits from
##########
airflow/api_fastapi/core_api/routes/public/__init__.py:
##########
@@ -68,10 +68,10 @@
authenticated_router.include_router(plugins_router)
authenticated_router.include_router(pools_router)
authenticated_router.include_router(providers_router)
+authenticated_router.include_router(xcom_router)
authenticated_router.include_router(task_instances_router)
authenticated_router.include_router(tasks_router)
authenticated_router.include_router(variables_router)
-authenticated_router.include_router(xcom_router)
Review Comment:
nit: undo this change.
We are maintaining it in an alphabetical order
--
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]