#NEWLINE# def test_repr( self ) : #NEWLINE# #INDENT# ismaster = IsMaster ( { #NEWLINE# #INDENT# 'ok' : 1 , #NEWLINE# #UNINDENT# } ) #NEWLINE# sd = ServerDescription ( ( 'localhost' , 27017 ) , sd ) #NEWLINE# server = Server ( sd , pool = object ( ) , monitor = object ( ) ) #NEWLINE# self . assertTrue ( ( 'Standalone' in str ( server ) ) )