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 2025/06/23 16:28:44 UTC
(airflow) branch main updated: Remove pytest db markers from microsoft winrm provider (#52104)
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 1b9765b821d Remove pytest db markers from microsoft winrm provider (#52104)
1b9765b821d is described below
commit 1b9765b821d592c8cb12f7ad30f85a5ebc5d6ff0
Author: Guan Ming(Wesley) Chiu <10...@users.noreply.github.com>
AuthorDate: Tue Jun 24 00:28:38 2025 +0800
Remove pytest db markers from microsoft winrm provider (#52104)
---
.pre-commit-config.yaml | 1 +
.../microsoft/winrm/tests/unit/microsoft/winrm/hooks/test_winrm.py | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f59a13a3b4b..af6164f0c7f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -613,6 +613,7 @@ repos:
^providers/jenkins/.*\.py$|
^providers/mongo/.*\.py$|
^providers/microsoft/psrp/.*\.py$|
+ ^providers/microsoft/winrm/.*\.py$|
^providers/neo4j/.*\.py$|
^providers/odbc/.*\.py$|
^providers/openai/.*\.py$|
diff --git a/providers/microsoft/winrm/tests/unit/microsoft/winrm/hooks/test_winrm.py b/providers/microsoft/winrm/tests/unit/microsoft/winrm/hooks/test_winrm.py
index f2140e3a188..b4ff975b7eb 100644
--- a/providers/microsoft/winrm/tests/unit/microsoft/winrm/hooks/test_winrm.py
+++ b/providers/microsoft/winrm/tests/unit/microsoft/winrm/hooks/test_winrm.py
@@ -25,8 +25,6 @@ from airflow.exceptions import AirflowException
from airflow.models import Connection
from airflow.providers.microsoft.winrm.hooks.winrm import WinRMHook
-pytestmark = pytest.mark.db_test
-
class TestWinRMHook:
def test_get_conn_missing_remote_host(self):