#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def test_update_not_available( self ) : #NEWLINE# #INDENT# order = '0' #NEWLINE# extraCommands = [ { #NEWLINE# #INDENT# 'command' : ( 'order %s' % extraCommands ) , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'command' : 'type DefaultRoute' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'command' : 'connector http(http1)' , #NEWLINE# #UNINDENT# } ] #NEWLINE# ( yield self . add_moroute ( 'jcli : ' , extraCommands ) ) #NEWLINE# commands = [ { #NEWLINE# #INDENT# 'command' : ( 'morouter -u %s' % order ) , #NEWLINE# 'expect' : 'no such option\\: -u' , #NEWLINE# #UNINDENT# } ] #NEWLINE# ( yield self . _test ( 'jcli : ' , commands ) )