test_azure_fileshare_15.py 339 B

12345
  1. def test_create_directory(self, mock_service):
  2. mock_instance = mock_service.return_value
  3. hook = AzureFileShareHook(azure_fileshare_conn_id='azure_fileshare_extras')
  4. hook.create_directory('share', 'directory', timeout=1)
  5. mock_instance.create_directory.assert_called_once_with('share', 'directory', timeout=1)