From f62d7f964a671c10d4b5b8f35f45036ad72b1ff4 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 17 Sep 2020 12:14:15 +0200 Subject: [PATCH] The test_find_not_should_ignore_path is now in heisentests It seems that the test_find_not_should_ignore_path test has some dependency on side-effects from other tests. See #10988 - we are moving this test to heisentests until we solve the issue. --- tests/plugins/test_plugin_ignore.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/plugins/test_plugin_ignore.py b/tests/plugins/test_plugin_ignore.py index 82ad91d79899..e92740ada28d 100644 --- a/tests/plugins/test_plugin_ignore.py +++ b/tests/plugins/test_plugin_ignore.py @@ -23,6 +23,8 @@ import unittest from unittest.mock import patch +import pytest + from airflow import settings from airflow.utils.file import find_path_from_directory @@ -65,6 +67,8 @@ def tearDown(self): """ shutil.rmtree(self.test_dir) + # See the issue: https://github.com/apache/airflow/issues/10988 + @pytest.mark.heisentests def test_find_not_should_ignore_path(self): """ Test that the .airflowignore work and whether the file is properly ignored.