#NEWLINE# @ patch ( 'simple_db_migrate.oracle.Oracle' ) #NEWLINE# def test_it_should_use_oracle_class_if_choose_this_engine( self , oracle_mock ) : #NEWLINE# #INDENT# self . initial_config . update ( { #NEWLINE# #INDENT# 'log_dir' : '.' , #NEWLINE# 'database_engine' : 'oracle' , #NEWLINE# 'database_migrations_dir' : [ '.' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# config = Config ( config . initial_config ) #NEWLINE# Main ( config = config ) #NEWLINE# oracle_mock . assert_called_with ( config )