#NEWLINE# @ with_protocol #NEWLINE# def test_entering_vlan_database_mode( self , t ) : #NEWLINE# #INDENT# enable ( self ) #NEWLINE# configure ( t ) #NEWLINE# t . write ( 'vlan database' ) #NEWLINE# t . readln ( '' ) #NEWLINE# t . read ( 'my_switch(config-vlan)#' ) #NEWLINE# t . write ( 'exit' ) #NEWLINE# t . readln ( '' ) #NEWLINE# t . read ( 'my_switch(config)#' ) #NEWLINE# t . write ( 'exit' ) #NEWLINE# t . readln ( '' ) #NEWLINE# t . read ( 'my_switch#' )