azure_system_helpers_3.py 409 B

123456789
  1. def provide_azure_fileshare(share_name: str, azure_fileshare_conn_id: str, file_name: str, directory: str):
  2. AzureSystemTest.prepare_share(
  3. share_name=share_name,
  4. azure_fileshare_conn_id=azure_fileshare_conn_id,
  5. file_name=file_name,
  6. directory=directory,
  7. )
  8. yield
  9. AzureSystemTest.delete_share(share_name=share_name, azure_fileshare_conn_id=azure_fileshare_conn_id)