From 4939f7d3eb8f978e1f37a6040f8460b2d3a9a99b Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Mon, 12 May 2025 23:50:37 +0800 Subject: [PATCH] [v3-0-test] Don't auto activate assets in activation tests (#50478) These tests check if activation works correctly, so we should disable auto activation when the assets are created so the tests actually test the activation process correctly. (cherry picked from commit 078b43f9fa7f284bdae7b836ac45a98d93995b4b) Co-authored-by: Tzu-ping Chung --- airflow-core/tests/unit/dag_processing/test_collection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow-core/tests/unit/dag_processing/test_collection.py b/airflow-core/tests/unit/dag_processing/test_collection.py index 5fbe8f11afc5a..bb843221a13c1 100644 --- a/airflow-core/tests/unit/dag_processing/test_collection.py +++ b/airflow-core/tests/unit/dag_processing/test_collection.py @@ -239,6 +239,7 @@ def test_change_asset_alias_property_sync_group(self, dag_maker, session): @pytest.mark.db_test +@pytest.mark.want_activate_assets(False) class TestAssetModelOperationSyncAssetActive: @staticmethod def clean_db():