1
0
mirror of synced 2025-12-23 21:03:15 -05:00

Source azure blob storage: certification (#37504)

Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
This commit is contained in:
Artem Inzhyyants
2024-04-29 14:58:09 +02:00
committed by GitHub
parent 005e12c2bd
commit 8d6f159d72
8 changed files with 97 additions and 40 deletions

View File

@@ -0,0 +1,19 @@
# Copyright (c) 2024 Airbyte, Inc., all rights reserved.
import dpath.util
from source_azure_blob_storage import SourceAzureBlobStorageSpec
def test_spec():
config = SourceAzureBlobStorageSpec(
azure_blob_storage_endpoint="https://teststorage.blob.core.windows.net",
azure_blob_storage_account_name="account1",
azure_blob_storage_container_name="airbyte-source-azure-blob-storage-test",
credentials={"auth_type": "storage_account_key", "azure_blob_storage_account_key": "key1"},
streams=[],
start_date="2024-01-01T00:00:00.000000Z",
)
assert config.documentation_url() == "https://docs.airbyte.com/integrations/sources/azure-blob-storage"
assert len(dpath.util.get(config.schema(), "properties/streams/items/properties/format/oneOf/4/properties/processing/oneOf")) == 1