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

potiuk 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 dabab2db58 Remove one leftover deprecated import from FAB provider 
test (#41757)
dabab2db58 is described below

commit dabab2db58dbece43fdc1c1d73378ce0c96d2328
Author: Jens Scheffler <[email protected]>
AuthorDate: Tue Aug 27 15:53:40 2024 +0200

    Remove one leftover deprecated import from FAB provider test (#41757)
---
 tests/providers/fab/auth_manager/test_security.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/providers/fab/auth_manager/test_security.py 
b/tests/providers/fab/auth_manager/test_security.py
index 55454669aa..01143b866d 100644
--- a/tests/providers/fab/auth_manager/test_security.py
+++ b/tests/providers/fab/auth_manager/test_security.py
@@ -913,7 +913,7 @@ def test_create_dag_specific_permissions(session, 
security_manager, monkeypatch,
     dagbag_mock.collect_dags_from_db = collect_dags_from_db_mock
     dagbag_class_mock = mock.Mock()
     dagbag_class_mock.return_value = dagbag_mock
-    import airflow.www.security
+    import airflow.providers.fab.auth_manager.security_manager
 
     monkeypatch.setitem(
         airflow.providers.fab.auth_manager.security_manager.override.__dict__, 
"DagBag", dagbag_class_mock

Reply via email to