#NEWLINE# def test_register_connection_defaults( self ) : #NEWLINE# #INDENT# 'Ensure that defaults are used when the host and port are None.\n        ' #NEWLINE# register_connection ( 'testdb' , 'mongoenginetest' , host = None , port = None ) #NEWLINE# conn = get_connection ( 'testdb' ) #NEWLINE# self . assertTrue ( isinstance ( conn , pymongo . mongo_client . MongoClient ) )