#NEWLINE# @ classmethod #NEWLINE# def setUpClass( cls ) : #NEWLINE# #INDENT# 'Turn on manual commits. Load and commit the fixtures.' #NEWLINE# if ( not test . testcases . connections_support_transactions ( ) ) : #NEWLINE# #INDENT# raise NotImplementedError ( ( '%s supports only DBs with transaction capabilities.' % cls . __name__ ) ) #NEWLINE# #UNINDENT# for db in cls . _databases ( ) : #NEWLINE# #INDENT# transaction . enter_transaction_management ( using = db ) #NEWLINE# transaction . managed ( True , using = db ) #NEWLINE# #UNINDENT# cls . _fixture_setup ( )