cruseakshay commented on code in PR #62867:
URL: https://github.com/apache/airflow/pull/62867#discussion_r2934947406
##########
providers/common/sql/tests/unit/common/sql/test_config.py:
##########
@@ -34,12 +34,22 @@ def test_successful_creation(self):
[
("s3://bucket/path", StorageType.S3),
("file:///path/to/file", StorageType.LOCAL),
+ ("gs://bucket/path", StorageType.GCS),
+ ("az://container/path", StorageType.AZURE),
],
)
def test_extract_storage_type(self, uri, expected_type):
config = DataSourceConfig(conn_id="test", uri=uri,
table_name="a_table" if expected_type else None)
assert config.storage_type == expected_type
+ def test_gcs_storage_type_inferred(self):
Review Comment:
Removed the redudant tests
--
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]