#NEWLINE# def test_blacklist( self ) : #NEWLINE# #INDENT# o = test_util . override ( SMS_MT_BLACKLIST = re . compile ( '\\+1' ) ) #NEWLINE# def _all_blocked( ) : #NEWLINE# #INDENT# r = self . sign_in ( 'popular' ) #NEWLINE# #UNINDENT# self . assertRaises ( exception . ServiceError , _all_blocked ) #NEWLINE# r = self . sign_in ( 'popular' , '+2345678900' ) #NEWLINE# self . assert_ ( r ) #NEWLINE# o . reset ( )