#NEWLINE# def test_router_init_arg( self ) : #NEWLINE# #INDENT# connection_router = ConnectionRouter ( [ 'multiple_database.tests.TestRouter' , 'multiple_database.tests.WriteRouter' ] ) #NEWLINE# self . assertListEqual ( [ r . __class__ . __name__ for r in connection_router . routers ] , [ 'TestRouter' , 'WriteRouter' ] ) #NEWLINE# connection_router = ConnectionRouter ( [ TestRouter ( ) , WriteRouter ( ) ] ) #NEWLINE# self . assertListEqual ( [ r . __class__ . __name__ for r in connection_router . routers ] , [ 'TestRouter' , 'WriteRouter' ] )