#NEWLINE# @ pytest . mark . parametrize ( 'command, new_commands' , [ ( Command ( 'tsuru log' , stderr = 'tsuru: "log" is not a tsuru command. See "tsuru help".\n\nDid you mean?\n\tapp-log\n\tlogin\n\tlogout\n' ) , [ 'tsuru login' , 'tsuru logout' , 'tsuru app-log' ] ) , ( Command ( 'tsuru app-l' , stderr = 'tsuru: "app-l" is not a tsuru command. See "tsuru help".\n\nDid you mean?\n\tapp-list\n\tapp-log\n' ) , [ 'tsuru app-log' , 'tsuru app-list' ] ) , ( Command ( 'tsuru user-list' , stderr = 'tsuru: "user-list" is not a tsuru command. See "tsuru help".\n\nDid you mean?\n\tteam-user-list\n' ) , [ 'tsuru team-user-list' ] ) , ( Command ( 'tsuru targetlist' , stderr = 'tsuru: "targetlist" is not a tsuru command. See "tsuru help".\n\nDid you mean?\n\ttarget-list\n' ) , [ 'tsuru target-list' ] ) ] ) #NEWLINE# def test_get_new_command( command , new_commands ) : #NEWLINE# #INDENT# assert ( get_new_command ( command ) == new_commands )