#NEWLINE# def test_get_default_database_error( self ) : #NEWLINE# #INDENT# c = MongoClient ( ( 'mongodb://%s:%d/' % ( host , port ) ) , connect = False ) #NEWLINE# self . assertRaises ( ConfigurationError , c . get_default_database )