#NEWLINE# @ pytest . mark . parametrize ( 'command, new_command' , [ ( Command ( 'javac foo' ) , 'javac foo.java' ) , ( Command ( 'javac bar' ) , 'javac bar.java' ) ] ) #NEWLINE# def test_get_new_command( command , new_command ) : #NEWLINE# #INDENT# assert ( get_new_command ( command ) == new_command )