You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/02/18 07:44:25 UTC
(airflow) branch main updated: Move user schema tests to FAB provider (#37513)
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 0bca15fc27 Move user schema tests to FAB provider (#37513)
0bca15fc27 is described below
commit 0bca15fc27bd6825b8473a98d4370e9f542bb682
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Feb 18 08:44:17 2024 +0100
Move user schema tests to FAB provider (#37513)
Since all the USER/ROLE related code moved to FAB, we should also
move the user schema tests as well. Not having the tests in the
provider code, made the #37507 succeed because of selective chekcs
(false positive). Mobing the tests to fab provider should fix the
problem.
---
.../fab/auth_manager/api_endpoints}/test_user_schema.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/api_connexion/schemas/test_user_schema.py b/tests/providers/fab/auth_manager/api_endpoints/test_user_schema.py
similarity index 98%
rename from tests/api_connexion/schemas/test_user_schema.py
rename to tests/providers/fab/auth_manager/api_endpoints/test_user_schema.py
index b706b65719..222dbdbbb4 100644
--- a/tests/api_connexion/schemas/test_user_schema.py
+++ b/tests/providers/fab/auth_manager/api_endpoints/test_user_schema.py
@@ -31,8 +31,8 @@ pytestmark = pytest.mark.db_test
@pytest.fixture(scope="module")
-def configured_app(minimal_app_for_api):
- app = minimal_app_for_api
+def configured_app(minimal_app_for_auth_api):
+ app = minimal_app_for_auth_api
create_role(
app,
name="TestRole",