#NEWLINE# def test_phone_info( self ) : #NEWLINE# #INDENT# phone = self . phones . info ( '7754615609' , '1' ) #NEWLINE# self . assertTrue ( phone . ok ( ) , msg = 'errors: {0}' . format ( phone . errors ( ) ) ) #NEWLINE# self . assertRegexpMatches ( phone [ 'message' ] , 'Phone number information as of' ) #NEWLINE# self . assertRegexpMatches ( phone [ 'type' ] , 'voip' ) #NEWLINE# self . assertRegexpMatches ( phone [ 'provider' ] , 'Google Voice' ) #NEWLINE# self . assertFalse ( phone [ 'ported' ] )