test_azure_fileshare_3.py 273 B

123456
  1. def test_sas_token(self):
  2. from azure.storage.file import FileService
  3. hook = AzureFileShareHook(azure_fileshare_conn_id='azure_fileshare_extras')
  4. assert hook.conn_id == 'azure_fileshare_extras'
  5. assert isinstance(hook.get_conn(), FileService)