josix commented on code in PR #46146:
URL: https://github.com/apache/airflow/pull/46146#discussion_r1932528410
##########
tests/always/test_project_structure.py:
##########
@@ -22,12 +22,66 @@
import mmap
import os
import pathlib
+from itertools import chain
import pytest
-ROOT_FOLDER = pathlib.Path(__file__).parents[2]
-PROVIDERS_SRC = ROOT_FOLDER.joinpath("providers", "src")
-PROVIDERS_TESTS = ROOT_FOLDER.joinpath("providers", "tests")
+DUMMY_PROVIDER = "blank"
+
+
+class ProvidersFileStructureToggle:
Review Comment:
Hi @potiuk, could you help check if this approach is acceptable for
temporarily managing the switch between the old and new provider structures
without breaking the tests? I’m wondering if it might be a bit overengineered.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]