12345678 |
- def test_key_and_connection(self):
- from azure.storage.file import FileService
- hook = AzureFileShareHook(azure_fileshare_conn_id='azure_fileshare_test_key')
- assert hook.conn_id == 'azure_fileshare_test_key'
- assert hook._conn is None
- print(hook.get_conn())
- assert isinstance(hook.get_conn(), FileService)
|