- def test_create_share(self, mock_service):
- mock_instance = mock_service.return_value
- hook = AzureFileShareHook(azure_fileshare_conn_id='azure_fileshare_extras')
- hook.create_share('my_share')
- mock_instance.create_share.assert_called_once_with('my_share')
|