#NEWLINE# def test_default_max_message_size( self ) : #NEWLINE# #INDENT# s = parse_ismaster_response ( { #NEWLINE# #INDENT# 'ok' : 1 , #NEWLINE# 'ismaster' : True , #NEWLINE# 'maxBsonObjectSize' : 2 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 4 , self . max_message_size )