#NEWLINE# def setup( self ) : #NEWLINE# #INDENT# name = namedtuple ( 'name' , 'name' ) #NEWLINE# self . name_list = [ name ( name = 'a' ) , name ( name = 'b' ) ] #NEWLINE# account = mock . Mock ( ) #NEWLINE# credentials = namedtuple ( 'credentials' , [ 'private_key' , 'certificate' , 'subscription_id' ] ) #NEWLINE# account . storage_name = mock . Mock ( return_value = MOCK_STORAGE_NAME ) #NEWLINE# account . storage_key = mock . Mock ( return_value = ( 'fI8bhf6QAvgwCgR9qJyoNLHQ9F73fQ97e3/e8jMCFSiFioaB' + 'iAU0oSGcFACtniSY6pS3L5GKNzPCK0FF6M+O4A==' ) ) #NEWLINE# account . publishsettings = mock . Mock ( return_value = credentials ( private_key = 'abc' , certificate = 'abc' , subscription_id = '4711' ) ) #NEWLINE# self . files = FileShare ( account )