dabla commented on code in PR #64941:
URL: https://github.com/apache/airflow/pull/64941#discussion_r3232552674
##########
airflow-core/tests/unit/always/test_providers_manager.py:
##########
@@ -258,6 +259,90 @@ def test_dialects(self):
assert len(dialect_class_names) == 3
assert dialect_class_names == ["default", "mssql", "postgresql"]
+ def test_discover_object_storage_providers(self):
+ providers_manager = ProvidersManager()
+ providers_manager._provider_dict = LazyDictWithCache()
+ providers_manager._provider_dict["airflow.providers.amazon"] =
ProviderInfo(
Review Comment:
Don't know about this one. Shouldn't the amazon S3 provider be auto
registered and already be in the providers list instead of manually adding it?
Because now the test manually adds it to the providers list and the asserts if
it's there, which of course will work but doesn't rely on the auto registration
mechanism?
--
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]