From a79b2efb5f4c36cb630b4ff23f3590013d61f1e9 Mon Sep 17 00:00:00 2001 From: Jasperora Date: Mon, 23 Jun 2025 14:23:31 +0800 Subject: [PATCH] Remove pytest.mark.db_test: apache iceberg --- .pre-commit-config.yaml | 1 + .../iceberg/tests/unit/apache/iceberg/hooks/test_iceberg.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66f82827b27d2..560ce6d064935 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -580,6 +580,7 @@ repos: files: > (?x) ^providers/airbyte/.*\.py$| + ^providers/apache/iceberg/.*\.py$| ^providers/cloudant/.*\.py$| ^providers/cohere/.*\.py$| ^providers/datadog/.*\.py$| diff --git a/providers/apache/iceberg/tests/unit/apache/iceberg/hooks/test_iceberg.py b/providers/apache/iceberg/tests/unit/apache/iceberg/hooks/test_iceberg.py index f11e1d4ea6297..28ce20d777d31 100644 --- a/providers/apache/iceberg/tests/unit/apache/iceberg/hooks/test_iceberg.py +++ b/providers/apache/iceberg/tests/unit/apache/iceberg/hooks/test_iceberg.py @@ -19,13 +19,10 @@ from unittest.mock import Mock, patch -import pytest import requests_mock from airflow.providers.apache.iceberg.hooks.iceberg import IcebergHook -pytestmark = pytest.mark.db_test - def test_iceberg_hook(): access_token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSU"