#NEWLINE# def testCreateAndStoreMasterKeyFile( self ) : #NEWLINE# #INDENT# infile = os . path . join ( self . dirname , 'created_master_key_file' ) #NEWLINE# self . assertFalse ( os . path . exists ( infile ) ) #NEWLINE# load_lib . _CreateAndStoreMasterKeyFile ( infile ) #NEWLINE# self . assertTrue ( os . path . exists ( infile ) ) #NEWLINE# f = open ( infile , 'rt' ) #NEWLINE# self . assertEquals ( 16 , len ( base64 . b64decode ( f . read ( ) ) ) ) #NEWLINE# f . close ( )