#NEWLINE# def test_it_should_raise_error_if_choose_an_invalid_engine( self ) : #NEWLINE# #INDENT# self . initial_config . update ( { #NEWLINE# #INDENT# 'log_dir' : '.' , #NEWLINE# 'database_engine' : 'invalid_engine' , #NEWLINE# #UNINDENT# } ) #NEWLINE# config = Config ( config . initial_config ) #NEWLINE# self . assertRaisesWithMessage ( Exception , "engine not supported 'invalid_engine'" , Main , config = config )