This is an automated email from the ASF dual-hosted git repository.

dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 078b43f9fa7 Don't auto activate assets in activation tests (#50478)
078b43f9fa7 is described below

commit 078b43f9fa7f284bdae7b836ac45a98d93995b4b
Author: Tzu-ping Chung <[email protected]>
AuthorDate: Mon May 12 23:50:37 2025 +0800

    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.
---
 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 5fbe8f11afc..bb843221a13 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 @@ class TestAssetModelOperation:
 
 
 @pytest.mark.db_test
[email protected]_activate_assets(False)
 class TestAssetModelOperationSyncAssetActive:
     @staticmethod
     def clean_db():

Reply via email to