#NEWLINE# @ skipUnlessDBFeature ( 'supports_transactions' ) #NEWLINE# def test_autocommit_decorator_with_using( self ) : #NEWLINE# #INDENT# '\n        The autocommit decorator also works with a using argument.\n        ' #NEWLINE# autocomitted_create_then_fail = transaction . autocommit ( using = 'default' ) ( autocomitted_create_then_fail . create_a_reporter_then_fail ) #NEWLINE# self . assertRaises ( Exception , autocomitted_create_then_fail , 'Alice' , 'Smith' ) #NEWLINE# self . assertEqual ( Reporter . objects . count ( ) , 1 )